summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2016-09-11 22:44:46 +0100
committerAndrea Faulds <ajf@ajf.me>2016-09-11 22:44:46 +0100
commitd690014bf35507ccb7a1150a27504d2f87848842 (patch)
tree5913a3bbcad247de83e68e0e61448279ff5f5f47 /ext/reflection/php_reflection.c
parent529811cfb0c664c53752a295adcda472d336205a (diff)
downloadphp-git-d690014bf35507ccb7a1150a27504d2f87848842.tar.gz
Remove zpp fallback code (always use Fast ZPP)
Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code
Diffstat (limited to 'ext/reflection/php_reflection.c')
-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 08acc7e5d2..b24f9c691d 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1515,17 +1515,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);