diff --git a/features/commandline.xml b/features/commandline.xml index 2bf0ef0bf1..ee9083bb9d 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -1046,7 +1046,42 @@ Function [ public function var_dump ] { This option is only available if PHP was compiled with Reflection support. - + + + <literal>--rc</literal> example + + class Directory ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method close ] { + } + + Method [ public method rewind ] { + } + + Method [ public method read ] { + } + } +} +]]> + + + + --re @@ -1060,16 +1095,60 @@ Function [ public function var_dump ] { This option is only available if PHP was compiled with Reflection support. + + + <literal>--re</literal> example + + extension #19 json version 1.2.1 ] { + + - Functions { + Function [ function json_encode ] { + } + Function [ function json_decode ] { + } + } +} +]]> + + + - -ri + --ri --rextinfo Shows the configuration information for the given extension (the same information that is returned by phpinfo). - Available as of PHP 5.2.2. + Available as of PHP 5.2.2. The core configuration information + are available using "main" as extension name. + + + + <literal>--ri</literal> example + + enabled +"Olson" Timezone Database Version => 2007.5 +Timezone Database => internal +Default timezone => Europe/Oslo + +Directive => Local Value => Master Value +date.timezone => Europe/Oslo => Europe/Oslo +date.default_latitude => 59.22482 => 59.22482 +date.default_longitude => 11.018084 => 11.018084 +date.sunset_zenith => 90.583333 => 90.583333 +date.sunrise_zenith => 90.583333 => 90.583333 +]]> + +