diff options
author | Andrea Faulds <ajf@ajf.me> | 2016-09-11 22:44:46 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2016-09-11 22:44:46 +0100 |
commit | d690014bf35507ccb7a1150a27504d2f87848842 (patch) | |
tree | 5913a3bbcad247de83e68e0e61448279ff5f5f47 /ext/spl | |
parent | 529811cfb0c664c53752a295adcda472d336205a (diff) | |
download | php-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/spl')
-rw-r--r-- | ext/spl/spl_array.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 60cbac5726..3bb0e367ea 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -1224,15 +1224,9 @@ SPL_METHOD(Array, setIteratorClass) spl_array_object *intern = Z_SPLARRAY_P(object); zend_class_entry * ce_get_iterator = spl_ce_Iterator; -#ifndef FAST_ZPP - if (zend_parse_parameters(ZEND_NUM_ARGS(), "C", &ce_get_iterator) == FAILURE) { - return; - } -#else ZEND_PARSE_PARAMETERS_START(1, 1) Z_PARAM_CLASS(ce_get_iterator) ZEND_PARSE_PARAMETERS_END(); -#endif intern->ce_get_iterator = ce_get_iterator; } |