From 1be9d6e1dcfc09e630295da697cd5b4865111d8c Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 22 May 2007 17:07:23 +0000 Subject: [PATCH] Add examples for --rc, --re, --ri Fix typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236143 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/commandline.xml | 87 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 83 insertions(+), 4 deletions(-) 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 +]]> + +