summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Added zend_eval_stringl and made create_function(), etc. binary-safeMatt Wilmas2009-06-051-1/+1
|
* MFH: Inglés gramáticaHannes Magnusson2009-04-091-2/+2
|
* MFH: Fixed bug#47427 (-s outputs, not displays)Hannes Magnusson2009-04-091-2/+2
|
* - MFH: Fix ZTS buildFelipe Pena2009-04-081-5/+5
|
* MFH: Fixed bug #47893 (CLI aborts on non blocking stdout)Arnaud Le Blanc2009-04-071-1/+30
|
* MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLIIlia Alshanetsky2009-01-091-0/+21
| | | | | opened files.
* - MFH Catch exceptions in cli -aMarcus Boerger2009-01-021-1/+1
|
* MFHMarcus Boerger2008-12-311-0/+12
| | | | | | | - Changed dl() to be disabled by default. Enabled only when explicitly registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry) [DOC]
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-2/+2
|
* MFH: Fixed endless loop in cli when ignore_user_abort is onArnaud Le Blanc2008-11-251-3/+2
|
* Added header_remove() (chsc at peytz dotdk, Arnaud)Arnaud Le Blanc2008-11-131-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | [DOC] proto void header_remove([string header_name]) Removes an HTTP header previously set using header() The header_name parameter is optionnal, all headers are removed if it is not set [SAPIs] The header_handler callback in sapi_module_struct has been changed, it now take a new argument. When it is set to SAPI_HEADER_DELETE, sapi_header->header is the name of an header, header_handler has to delete it. When it is set to SAPI_HEADER_DELETE_ALL, header_handler has to delete all headers. When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE, sapi_header->header is in the form "Name: value", header_handler has to add or replace the given header. In all cases, header_handler must not free sapi_header or sapi_header->header. SAPI_HEADER_ADD must be returned if the header has been added or replaced, or 0 in other cases.
* MFH: nuke unused varAntony Dovgal2008-08-141-2/+0
|
* MFHJani Taskinen2008-08-131-6/+0
|
* Fixed bug #45779 (regression with shebang lines processing)Dmitry Stogov2008-08-121-17/+0
|
* fix warningsAntony Dovgal2008-07-251-1/+1
|
* MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779)Arnaud Le Blanc2008-07-241-5/+21
|
* MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSEAntony Dovgal2008-07-231-4/+0
|
* - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())Felipe Pena2008-07-221-0/+4
|
* - MFH Use sizeof rather than strlen and cleanupMarcus Boerger2008-03-251-11/+10
|
* Add new empty child terminate sapi hook to the rest of the sapisRasmus Lerdorf2008-03-181-0/+1
|
* Implemented concept of "delayed early binding" that allows opcode caches to ↵Dmitry Stogov2008-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. The following pseudo-code explains how it should be used in opcode cache. function cache_compile_file($filename) { if (!is_cached($filename)) { ... orig_compiler_options = CG(compiler_optins); CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; $op_array = orig_compile_file($filename); CG(compiler_options) = orig_copiler_options; ... } else { $op_array = restore_from_cache($filename); } zend_do_delayed_early_binding($op_array); }
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-161-1/+4
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* - Small improvements, no malloc needed for the zvalMarcus Boerger2008-02-031-9/+5
|
* Fixed bug #43968 (Extending internal class causes a crash)Dmitry Stogov2008-01-291-5/+5
| | | | | The fix is a workaround for GCC optizer bug.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-2/+2
|
* MFH:- Added common getopt implementation to core.Jani Taskinen2007-10-011-3/+3
| | | | | | | | | | MFH:- Added long-option feature to getopt(). MFH:- Made getopt() available on win32 systems. MFH: Patch by: David Soria Parra <dsp@php.net> [DOC]: These changes will be available from 5.3+ # Note: Fixed also tests and synced basic_functions.c with HEAD.
* remove unneeded variablesStanislav Malyshev2007-08-081-12/+1
|
* fix foldingAntony Dovgal2007-06-041-23/+36
|
* - MFH: Fix build without reflectionJohannes Schlüter2007-05-061-2/+0
|
* - MFH --ri does not require ext/ReflectionMarcus Boerger2007-05-051-9/+29
| | | | | - MFH --ini to show ini files being used
* MFH: php --ri mainHannes Magnusson2007-04-251-2/+6
|
* - Fix a possible leak when multiple -c parameters are usedfoobar2007-04-171-1/+4
|
* MFHAntony Dovgal2007-02-221-7/+7
|
* MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacksAntony Dovgal2007-02-211-0/+6
|
* MFH: make use of startup hooksAntony Dovgal2007-02-201-1/+1
|
* - MFH php --ri <extension>Marcus Boerger2007-02-081-10/+33
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-2/+2
|
* MFHAntony Dovgal2006-12-211-0/+6
|
* Restore support for unquoted -d optionsIlia Alshanetsky2006-09-221-6/+20
|
* MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; ↵Dmitry Stogov2006-09-191-40/+35
| | | | constants are working exactly like in php.ini; with FastCGI -d affects all requests).
* fix leak with `php -c /path -h`Antony Dovgal2006-09-151-3/+4
|
* Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too ↵Dmitry Stogov2006-08-221-2/+9
| | | | low).
* MFH: fix #37920 (compilation problems on z/OS)Antony Dovgal2006-06-271-3/+3
|
* MFH: initialize pointersAntony Dovgal2006-06-201-2/+2
|
* - Fix Bug #37780 memory leak trying to execute a non existing file (CLI)Michael Wallner2006-06-191-1/+10
|
* MFHJohannes Schlüter2006-06-031-40/+36
|
* Fixed bug #37306 (max_execution_time = max_input_time)Dmitry Stogov2006-05-111-0/+1
|
* - Update after api changesMarcus Boerger2006-05-101-1/+1
|
* - MFH: List --rf/--rc/--re only with enabled reflectionJohannes Schlüter2006-02-211-0/+2
|
* - MFH Show the exact versionMarcus Boerger2006-01-221-4/+13
|