Home >Backend Development >PHP Tutorial >PHP command line parameter explanation_PHP tutorial

PHP command line parameter explanation_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:25:14951browse

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 Read and interpret the file specified by
-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 Load the Zend extension file
-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

truehttp: //www.bkjia.com/PHPjc/532082.htmlTechArticlephp command line parameter explanation: As we all know, 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...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn