diff --git a/features/commandline.xml b/features/commandline.xml index 9c69e227c0..dc1e2c4128 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -911,149 +911,6 @@ array(370) { modules are in the binary package, the executable is named php.exe. - - This list of command line options is consistent with PHP 4.0.6. - You can get the actual list and some one line descriptions - with the -h option. The output of - php -h should be something like this: - -] | { [args...]} - -q Quiet-mode. Suppress HTTP Header output. - -s Display colour syntax highlighted source. - -f Parse . Implies `-q' - -v Version number - -C Do not chdir to the script's directory - -c Look for php.ini file in this directory - -d foo[=bar] Define INI entry foo with value 'bar' - -e Generate extended information for debugger/profiler - -z Load Zend extension . - -l Syntax check only (lint) - -m Show compiled in modules - -i PHP information - -h This help -]]> - - - - Here we list some of the most important command line options - with detailed explanations. - - - - Command line options - - - - Option - Description - - - - - -q - - Suppress HTTP headers output. Normally PHP prints out - HTTP headers for the calling program (ie. webserver) - to hand on to the browser. When writing command line - applications these headers are useless. - - - - -s - - Display the color highlighted source of the file - given with its name. This is the same as if you were - printing out the source using the - highlight_file function in - a PHP script. - - - - -f - - Parse the file given, and search for syntactical and - fatal errors. This option implies -q. Use for - debugging purposes. - - - - -v - - By calling PHP with this option, you can ask - it to print out its version number, ie: 4.0.6. - - - - -C - - Normally PHP changes the working directory to the - running scripts directory. This makes it possible - for example, to open files in the same directory, - with only specifying the name of the file. If you - would like to disable this directory change, use - this option. - - - - -c - - Using this option, you can specify an alternative - &php.ini; path, so PHP will - search your configurations file in this path - instead of the default one. - - - - -d - - With this option, you can set individual - &php.ini; settings in the - time of running a script. - - - - -l - - Check the file given for syntax errors. This - option implies -q. Use for debugging purposes. - This option won't find fatal errors (like undefined - functions). Use -f if you would like to test - for fatal errors too. - - - - -m - - Using this option, PHP prints out the built in - (and loaded) PHP and Zend modules, the PHP - and Zend version numbers, and a short Zend - copyright notice. - - - - -i - - This command line option calls - phpinfo, and prints - out the results. If PHP is not working well, - it is advisable to make a php -i - and see if any error messages are printed out - before or in place of the information tables. - - - - -h - - With this option, you can get information about - the actual list of command line options and some - one line descriptions about what they do. - - - - -
-
--> The PHP executable can be used to run PHP scripts absolutely independent