diff options
author | Pierre Joye <pajoye@php.net> | 2011-06-25 10:47:54 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-06-25 10:47:54 +0000 |
commit | 213e1f4456f4051d251ac63970b22ec6e3826d10 (patch) | |
tree | bacaa002c0794f2f6fc24a6ac2d97eae4a140732 /sapi/cli/php_cli.c | |
parent | 8e300504161be5c038bb5675fc41d888c37a6733 (diff) | |
download | php-git-213e1f4456f4051d251ac63970b22ec6e3826d10.tar.gz |
- reflection is always enabled
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 5932c7cf8b..ced9753377 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -29,9 +29,7 @@ #include "zend_modules.h" #include "zend_interfaces.h" -#ifdef HAVE_REFLECTION #include "ext/reflection/php_reflection.h" -#endif #include "SAPI.h" @@ -158,7 +156,6 @@ const opt_struct OPTIONS[] = { {'?', 0, "usage"},/* help alias (both '?' and 'usage') */ {'v', 0, "version"}, {'z', 1, "zend-extension"}, -#ifdef HAVE_REFLECTION {10, 1, "rf"}, {10, 1, "rfunction"}, {11, 1, "rc"}, @@ -167,7 +164,6 @@ const opt_struct OPTIONS[] = { {12, 1, "rextension"}, {13, 1, "rz"}, {13, 1, "rzendextension"}, -#endif {14, 1, "ri"}, {14, 1, "rextinfo"}, {15, 0, "ini"}, @@ -537,12 +533,10 @@ static void php_cli_usage(char *argv0) "\n" " --ini Show configuration file names\n" "\n" -#if (HAVE_REFLECTION) " --rf <name> Show information about function <name>.\n" " --rc <name> Show information about class <name>.\n" " --re <name> Show information about extension <name>.\n" " --rz <name> Show information about Zend extension <name>.\n" -#endif " --ri <name> Show configuration for extension <name>.\n" "\n" , prog, prog, prog, prog, prog, prog); @@ -873,8 +867,6 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ case 'H': hide_argv = 1; break; - -#ifdef HAVE_REFLECTION case 10: behavior=PHP_MODE_REFLECTION_FUNCTION; reflection_what = php_optarg; @@ -891,7 +883,6 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ behavior=PHP_MODE_REFLECTION_ZEND_EXTENSION; reflection_what = php_optarg; break; -#endif case 14: behavior=PHP_MODE_REFLECTION_EXT_INFO; reflection_what = php_optarg; @@ -1083,7 +1074,6 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ break; } -#ifdef HAVE_REFLECTION case PHP_MODE_REFLECTION_FUNCTION: case PHP_MODE_REFLECTION_CLASS: case PHP_MODE_REFLECTION_EXTENSION: @@ -1138,7 +1128,6 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ break; } -#endif /* reflection */ case PHP_MODE_REFLECTION_EXT_INFO: { int len = strlen(reflection_what); |