summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 684d7f9e45..2e6e8d6c3a 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -577,7 +577,7 @@ int main(int argc, char *argv[])
/* temporary locals */
int behavior=PHP_MODE_STANDARD;
#ifdef HAVE_REFLECTION
- char *reflection_what;
+ char *reflection_what = NULL;
#endif
int orig_optind=php_optind;
char *orig_optarg=php_optarg;
@@ -1193,7 +1193,7 @@ int main(int argc, char *argv[])
case PHP_MODE_REFLECTION_CLASS:
case PHP_MODE_REFLECTION_EXTENSION:
{
- zend_class_entry *pce;
+ zend_class_entry *pce = NULL;
zval *arg, *ref;
zend_execute_data execute_data;