Report comment

Mac CLI PHP man page does not show -q flag either.


OPTIONS
--interactive
-a Run PHP interactively. This lets you enter snippets of
PHP code that directly get executed. When readline sup-
port is enabled you can edit the lines and also have
history support.

--php-ini path|file
-c path|file Look for php.ini file in the directory path or use the
specified file

--no-php-ini
-n No php.ini file will be used

--define foo[=bar]
-d foo[=bar] Define INI entry foo with value bar

-e Generate extended information for debugger/profiler

--file file
-f file Parse and execute file

--global name
-g name Make variable name global in script.

--help
-h This help

--hide-args
-H Hide script name (file) and parameters (args...) from
external tools. For example you may want to use this
when a php script is started as a daemon and the command
line contains sensitive data such as passwords.

--info
-i PHP information and configuration

--syntax-check
-l Syntax check only (lint)

--modules
-m Show compiled in modules

--run code
-r code Run PHP code without using script tags ''

--process-begin code
-B code Run PHP code before processing input lines

--process-code code
-R code Run PHP code for every input line

--process-file file
-F file Parse and execute file for every input line

--process-end code
-E code Run PHP code after processing all input lines

--syntax-highlight
-s Output HTML syntax highlighted source

--version
-v Version number

--stripped
-w Output source with stripped comments and whitespace

--zend-extension file
-z file Load Zend extension file

args... Arguments passed to script. Use '--' args when first
argument starts with '-' or script is read from stdin

--rfunction name
--rf name Shows information about function name

--rclass name
--rc name Shows information about class name

--rextension name
--re name Shows information about extension name

--rextinfo name
--ri name Shows configuration for extension name

--ini Show configuration file names