summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Turned implicit_flush on.Edin Kadribasic2002-02-141-5/+4
| | | | | Cleaned up help text.
* Give Edin Kadribasic his due credits.Sebastian Bergmann2002-01-231-3/+3
|
* No need to dupe this string in cli sapi (Bug #15181).Edin Kadribasic2002-01-231-1/+1
|
* Merged patch from sapi/cgi.Edin Kadribasic2002-01-191-2/+7
| | | | | # I will try to sync relevant patches from sapi/cgi to sapi/cli
* @- Added CLI (command line intrerface) sapi based on a cut-down versionEdin Kadribasic2002-01-061-0/+620
@ of the CGI sapi which is more suited for writing shell scripts. Some of @ the differences are: it prints no HTTP headers, displays plain text @ error messages, etc. (Edin) Added CLI (command line intrerface) sapi. # Let's see if a build expert can make this compile along # side some other sapi.