Home >Backend Development >PHP Tutorial >PHP command line parameter explanation_PHP tutorial
Explanation of php command line parameters:
As everyone knows, php is a
-q quiet mode. Do not output HTTP headers.
-s Convert PHP program files to HTML in color format (for example, reserved words are in green, functions and variables are in blue, comments are in yellow and strings are in red, etc.
-f
-c
Read the php.ini file in
-a Run interactively
-d foo[=bar] Define ini. The value of the input item foo in is bar
-e Output additional information for debugging and performance analysis
-z
-i php related information
-h help itself.
Ha, do you know how to use it?
By the way,
1. Use php -q to use the php program as a shell program,
2 -s Convert your php program to html. Isn’t this easy?
There are many more, it depends on your creativity.
http://www.bkjia.com/PHPjc/532082.html