summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
Commit message (Collapse)AuthorAgeFilesLines
* MFHMoriyoshi Koizumi2002-12-201-6/+3
|
* Reverted previous patch as suggested by Andi. (reopening #20539).Edin Kadribasic2002-12-191-3/+6
|
* MFH: Fix for #20539 (patch by Moriyoshi Koizumi).Edin Kadribasic2002-12-111-6/+3
|
* MFHAndrei Zmievski2002-11-141-5/+43
|
* - be more verboseJan Lehnardt2002-11-131-1/+1
|
* Implemented -n switch to skip parsing ini at startup as suggested by Wez.Marcus Boerger2002-11-121-2/+12
| | | | | | #The switch 'n' was planned to be used for beautifying....delete n to make #clear these functions do not have a switch yet.
* Fixed bug #20035. ZE now allows us to pass the current line position byIlia Alshanetsky2002-11-051-1/+1
| | | | | setting zend_lineno to (current_line * -1).
* call php_module_startup after zts has been initialised. This way we couldMarcus Boerger2002-11-051-6/+12
| | | | | | | have called zend_ini_deactivate(TSRMLS_C). But it seems unnecessary. #tested with ZTS and non ZTS build and many manual fail points. #now it even compiles without any warning, at least for me
* Made php -v output look nicer on standard 80 column display.Edin Kadribasic2002-11-051-1/+1
|
* Added built date and time to -v output.foobar2002-10-311-1/+1
|
* Fixed memory leaks.Ilia Alshanetsky2002-10-261-3/+4
|
* - alphabetical output for php -h (cli)Jan Lehnardt2002-10-251-8/+8
|
* add missing {}Sascha Schumann2002-10-241-1/+2
|
* - whitespaceDerick Rethans2002-10-241-2/+5
|
* Improve shutdown-behaviourSascha Schumann2002-10-241-14/+19
| | | | | Noticed by: Anantha Kesari H Y
* *** empty log message ***Derick Rethans2002-10-241-0/+1
|
* centralize #include "build-defs.h" and drop (sometimes inconsistent) otherSascha Schumann2002-10-241-2/+0
| | | | | instances
* Make CLI behave like other moder scripting languages.Yasuo Ohgaki2002-10-231-1/+0
|
* - Revert, got tricked by a stale object fileDerick Rethans2002-10-141-1/+1
|
* - Fix CLIDerick Rethans2002-10-141-1/+1
|
* - Revert changed to implicit_flush behavior. The new behavior was notDerick Rethans2002-10-031-0/+1
| | | | | intended in the first place.
* Shouldn't enable implicit_flush like this.Yasuo Ohgaki2002-10-031-1/+0
| | | | | | Most problems are fixed. If you find internal function that does not follow my comment, please fix it or let me know.
* another startup initialization fix - only ISAPI and CGI SAPI's tested,Zeev Suraski2002-09-181-2/+12
| | | | | | minor compile buglets might occur in other SAPIs, but should be trivial to fix...
* - prepare non-html phpinfo output for zend extensionsJan Lehnardt2002-09-021-0/+2
|
* change order of initialisation to allow making filename availableMarcus Boerger2002-08-101-28/+36
| | | | | through $_SERVER variables (Bug #18657)
* Needed this to be able to test safe-mode stuff on cmd-linefoobar2002-07-131-0/+1
|
* Fix exit code (bug #17733).Edin Kadribasic2002-06-131-1/+1
|
* Due to the way Zend handles exit() we cannot rely on the return codeEdin Kadribasic2002-05-261-5/+2
| | | | | of php_execute_script.
* Made constants persistent and fixed a memory leak.Edin Kadribasic2002-05-261-3/+7
|
* Register STDIN, STDOUT, and STDERR "constants" in cli in cases whereEdin Kadribasic2002-05-241-0/+50
| | | | | | | script itself is not being loaded from STDIN. This enables constructs like fwrite(STDERR, "Error 42");
* Added copyright notice to php -v output.Edin Kadribasic2002-05-111-1/+1
|
* Revert to the old php_ini.c, and reimplement the binary-path searching.Zeev Suraski2002-05-111-0/+2
| | | | | Should now also work under UNIX (CLI/CGI)
* - Prefix the first version line with 'PHP' so it's easier to use shell tools toMarkus Fischer2002-05-101-1/+1
| | | | | parse the version number (both CLI and CGI).
* - This affects both CGI and CLI sapi:Markus Fischer2002-05-101-2/+1
| | | | | | Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m).
* Added the current SAPI to the output of php -vSander Roobol2002-05-091-1/+1
|
* Force register_argc_argv=On for CLIfoobar2002-05-051-0/+1
|
* CGI/CLI take file and dir for -c option by this.Yasuo Ohgaki2002-04-121-17/+17
| | | | | @ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
* WS fixfoobar2002-03-271-7/+6
|
* recorrect las checkinMarcus Boerger2002-03-271-1/+1
|
* allow other modes to work with -- correctMarcus Boerger2002-03-261-1/+1
| | | | | #original idea was to allow this *only* for PHP_MODE_STANDARD
* fix behaviour on --Marcus Boerger2002-03-261-1/+2
| | | | | #now php -- -i for scriptfile -i works
* Override max_execution_time, setting it to unlimited.Edin Kadribasic2002-03-241-0/+1
|
* -removed -xMarcus Boerger2002-03-231-45/+38
| | | | | | -error handling for illegal switch combinations -corrected ws for one case block
* Nuke unused variables.Sebastian Bergmann2002-03-231-2/+0
|
* @Added new switch -x to CLI that enables execution of files without ↵Marcus Boerger2002-03-221-9/+50
| | | | | | | | @scripting tags. (Marcus) -Add -x #Read follow up mail
* -passing arguments to CLI, see: php -hMarcus Boerger2002-03-111-40/+63
|
* Cleaned up previous commit.Edin Kadribasic2002-03-081-5/+2
| | | | | #Oops, commited older patch the first time :)
* @- Added -r option to the CLI version of PHP which executes a piece of PHPEdin Kadribasic2002-03-081-1/+16
| | | | | @ code directly from the commmand line. (Edin)
* - Make the errorcode 255. (Doing docs right away)Derick Rethans2002-02-151-2/+2
|
* - Let php_execute_script return 0 on failure and 1 on sucess, and changeDerick Rethans2002-02-141-1/+5
| | | | | SAPIs accordingly. (Andrei, Derick)