diff --git a/features/commandline.xml b/features/commandline.xml index cf9c86c3bf..2bf0ef0bf1 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -361,7 +361,7 @@ Usage: php [options] [-f] [--] [args...] php [options] -- [args...] php [options] -a - -a Run as interactive shell + -a Run interactively -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' @@ -385,6 +385,8 @@ Usage: php [options] [-f] [--] [args...] args... Arguments passed to script. Use -- args when first argument starts with - or script is read from stdin + --ini Show configuration file names + --rf Show information about function . --rc Show information about class . --re Show information about extension . @@ -979,6 +981,28 @@ Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies + + + --ini + + + Shows configuration file names and scanned directories. Available as + of PHP 5.2.3. + + <literal>--ini</literal> example + + + + + + + --rf --rfunction @@ -987,6 +1011,10 @@ Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies Shows information about the given function or class method (e.g. number and name of the parameters). Available as of PHP 5.1.2. + + This option is only available if PHP was compiled with + Reflection support. + basic <literal>--rf</literal> usage @@ -1014,7 +1042,11 @@ Function [ public function var_dump ] { Show information about the given class (list of constants, properties and methods). Available as of PHP 5.1.2. - + + This option is only available if PHP was compiled with + Reflection support. + + --re @@ -1024,6 +1056,10 @@ Function [ public function var_dump ] { Show information about the given extension (list of &php.ini; options, defined functions, constants and classes). Available as of PHP 5.1.2. + + This option is only available if PHP was compiled with + Reflection support. +