PHP command-line arguments detailed

Input php -help lists all available parameters, the following screenshot command line:

-A representative of runs in interactive mode:

-c specified ph.ini

-n do not use any php.ini configuration

-d foo [= bar] defines a INI entity, key as foo, value for the 'bar'

-e debug and analyze information generated expansion

-f interpret and execute files

 -h prints help

-i displays basic information about PHP

-l check syntax (lint)

-m display module compiled into the kernel

-r run PHP code

 -B before processing input PHP code to execute

  -R input line as PHP code did not run

 -F Parse and execute for every input line

 -E Run PHP after processing all input lines

 -H Hide any passed arguments from external tools.

 -S: Run the built-in web server

-t Specifies the built-in web server's document root directory

 -s output HTML syntax highlighting of source code

 -v output PHP version number

-w output remove the source of the comments and whitespace

 -z load Zend extension file.

- args ... arguments passed to the script to run when the first argument to - at the beginning or the script is read from the standard input, the - argument

-ini display PHP configuration file name

-rf displays information about the function.

--rc display information on classes

--re displays information about the extended (shot shows only partially)

--rz displays information about Zend extension

Click on the difference between expansion and zend php extension

--ri show extended configuration information

Guess you like

Origin www.cnblogs.com/wscsq789/p/10991128.html