From d690014bf35507ccb7a1150a27504d2f87848842 Mon Sep 17 00:00:00 2001 From: Andrea Faulds Date: Sun, 11 Sep 2016 22:44:46 +0100 Subject: Remove zpp fallback code (always use Fast ZPP) Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code --- ext/reflection/php_reflection.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ext/reflection/php_reflection.c') 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); -- cgit v1.2.1