diff options
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 0700e79b15..a305c36ade 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1084,7 +1084,8 @@ static int do_cli(int argc, char **argv) /* {{{ */ zval_ptr_dtor(&tmp); EG(exception) = NULL; } else { - zend_call_method_with_1_params(NULL, reflection_ptr, NULL, "export", NULL, &ref); + zend_print_zval(&ref, 0); + zend_write("\n", 1); } zval_ptr_dtor(&ref); zval_ptr_dtor(&arg); |