summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2016-09-11 22:46:20 +0100
committerAndrea Faulds <ajf@ajf.me>2016-09-11 22:46:20 +0100
commitfc5497cb923df43e20deff3e03d1bfa50acc0570 (patch)
tree825752e4f4a4f73a7bf3da0346f6c8ebf326eef2 /ext/reflection
parentc90f7f66eadb8bc5577c39b9b4d6a4fe2d60f78e (diff)
parentd690014bf35507ccb7a1150a27504d2f87848842 (diff)
downloadphp-git-fc5497cb923df43e20deff3e03d1bfa50acc0570.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/php_reflection.c6
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);