summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
Commit message (Collapse)AuthorAgeFilesLines
* - Revert the weird change of ZEND_STRS() macro and use the correctfoobar2005-01-201-3/+3
| | | | | | ZEND_STRL() macro. # ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
* Add the new request_time sapi struct entry to all the sapis. Some of theseRasmus Lerdorf2004-12-201-0/+1
| | | | | | | may have ways of getting the request time without the extra syscall, but for now let's just make sure we don't crash and people will eventually fill these in where applicable.
* fix CLI leaks when using malformed option stringAntony Dovgal2004-11-151-1/+1
|
* Made php -m output sorted case-insensitevlyEdin Kadribasic2004-07-141-1/+1
|
* - typo (must have sleep.)Moriyoshi Koizumi2004-03-041-1/+1
|
* - Prevent cli from printing multiple "Interactive mode enabled" ifMoriyoshi Koizumi2004-03-041-3/+5
| | | | | the command line option is given more than once (like -aaaaaa).
* Bugfix #27104 CLI/CGI SAPI module variable name conflictMarcus Boerger2004-02-111-30/+30
|
* Fixed possible memory leak with INI values.Ilia Alshanetsky2004-02-061-2/+2
|
* Parse command line ini directives passed using -d before -i, to ensureIlia Alshanetsky2004-02-041-10/+12
| | | | | correct settings output.
* Add optional php-win.exe variation of the CLI sapi.Wez Furlong2004-01-141-0/+14
| | | | | | | | | | | php-win.exe runs in the windows GUI subsystem, and thus has no console; stdio handles are effectively set to /dev/null and no "dos box" will appear on screen when running scripts using this sapi (php-gtk people will be familiar with this concept). Aside from those differences, php-win.exe is 100% identical to regular CLI
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-4/+4
|
* Disable output buffering in CLI overriding php.ini setting.Edin Kadribasic2004-01-021-0/+1
| | | | | Fixes #26755.
* add win32 configure option for CLI to switch on CRT heap debuggingWez Furlong2003-12-221-0/+14
|
* Fixed extra byte allocation for STD* constants and replace magic numbersIlia Alshanetsky2003-12-111-6/+6
| | | | | with sizeof().
* MF4: -m fix for premature extension unloadingStanislav Malyshev2003-08-281-0/+1
|
* - Provide a unified way to display uncaught exceptions, which showsMarcus Boerger2003-08-241-4/+4
| | | | | | | file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use above function to fix memleaks in CLI.
* Set module id 0 (internal) for constants registered by php_cli in C.Ilia Alshanetsky2003-08-221-0/+3
|
* Fix warningsMarcus Boerger2003-08-171-4/+0
|
* Fixed bug #20896 (-s -w modes with php-cli cause php to hang).Ilia Alshanetsky2003-08-131-2/+0
|
* Preserve exit status for non-php execution modes.Ilia Alshanetsky2003-08-011-1/+3
|
* Fixed bug #23509 (exit code lost when exit() called fromIlia Alshanetsky2003-08-011-3/+1
| | | | | register_shutdown_function())
* flush after banner printStanislav Malyshev2003-06-161-0/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* - MFB: Version output beautificationDerick Rethans2003-05-301-0/+4
|
* MFBMarcus Boerger2003-05-301-0/+4
|
* Simply print errorsMarcus Boerger2003-05-291-5/+1
|
* - MFBDerick Rethans2003-05-261-1/+8
|
* More clean way of ignoring headers in CLI since we do not need toEdin Kadribasic2003-04-281-34/+0
| | | | | | disable them selectively. This fixes problems for people who want to use session module in CLI.
* Reset option parsingMarcus Boerger2003-04-271-0/+2
| | | | | # i swear i had them in before last commit
* split parameter parsing once more: do informal queries before othersMarcus Boerger2003-04-271-48/+57
| | | | | #still a memleak in case of a parameter conflict
* Revert some ini settings to be hardcoded due to popular demandMarcus Boerger2003-04-231-5/+9
|
* Fix more shutdown wierdnessMarcus Boerger2003-04-191-1/+3
|
* Fix folding markerWez Furlong2003-04-191-1/+1
|
* Do init CG(in_compilation) here until someone finds a better placeMarcus Boerger2003-04-191-0/+1
|
* Shutdown memleaksMarcus Boerger2003-04-191-9/+10
|
* Added missing CVS Id tagsfoobar2003-04-161-0/+1
|
* Hopefully last fix on error reportingMarcus Boerger2003-04-091-1/+1
|
* more ini defaults for error message handlingMarcus Boerger2003-03-301-0/+2
|
* simplify and fixMarcus Boerger2003-03-301-3/+2
|
* use sizeof() as suggested by AndreiMarcus Boerger2003-03-291-6/+6
|
* - html errors should default to off (0) in CLIDerick Rethans2003-03-291-1/+1
|
* Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and ↵Sebastian Bergmann2003-03-251-1/+3
| | | | SAPI/CLI on Win32.
* - reenable $argc/$argvMarcus Boerger2003-03-191-0/+3
| | | | | | - add a comment where hardcoded defaults would go # i believe we have none for now though
* make phpinfo() depend on executed sapiMarcus Boerger2003-03-181-0/+1
|
* use new callback to overwrite ini settingsMarcus Boerger2003-03-181-4/+23
| | | | | # ok now lets split html_errors and phpinfo() formatting
* - Allow long option namesMarcus Boerger2003-02-161-56/+67
| | | | | | | | | | - Update CLI's manpage @Added support for long options in CLI & CGI (e.g. --version). (Marcus) # In contrast to the preliminary patch this should work now completely. # If all long option names are accepted we may even think about MFHing.
* fix parameter string (-R & -H)Marcus Boerger2003-02-151-1/+1
|
* Make that clearMarcus Boerger2003-02-111-1/+1
|
* Added -H option to CLI binary. This option can be used to hide any argumentsIlia Alshanetsky2003-02-111-1/+14
| | | | | including the script name passed to the CLI binary.
* Define STDIN/OUT/ERR for -B -R -F -E (works as expected).Marcus Boerger2003-02-071-5/+9
| | | | | Enable exit in same switches.