mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Don't call Reflection::export() in --rf etc implementation
This method is deprecated ... instead simply directly print the object.
This commit is contained in:
parent
e1afd9b213
commit
226fd52c76
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue