diff options
author | Andrea Faulds <ajf@ajf.me> | 2016-09-11 22:46:20 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2016-09-11 22:46:20 +0100 |
commit | fc5497cb923df43e20deff3e03d1bfa50acc0570 (patch) | |
tree | 825752e4f4a4f73a7bf3da0346f6c8ebf326eef2 /ext/reflection/php_reflection.c | |
parent | c90f7f66eadb8bc5577c39b9b4d6a4fe2d60f78e (diff) | |
parent | d690014bf35507ccb7a1150a27504d2f87848842 (diff) | |
download | php-git-fc5497cb923df43e20deff3e03d1bfa50acc0570.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index cf861b65d8..16601ee4d6 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1555,17 +1555,11 @@ ZEND_METHOD(reflection, export) int result; zend_bool return_output = 0; -#ifndef FAST_ZPP - if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|b", &object, reflector_ptr, &return_output) == FAILURE) { - return; - } -#else ZEND_PARSE_PARAMETERS_START(1, 2) Z_PARAM_OBJECT_OF_CLASS(object, reflector_ptr) Z_PARAM_OPTIONAL Z_PARAM_BOOL(return_output) ZEND_PARSE_PARAMETERS_END(); -#endif /* Invoke the __toString() method */ ZVAL_STRINGL(&fname, "__tostring", sizeof("__tostring") - 1); |