diff options
-rw-r--r-- | ext/spl/spl_array.c | 2 | ||||
-rw-r--r-- | ext/spl/spl_dllist.c | 2 | ||||
-rw-r--r-- | ext/spl/spl_observer.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index b9fdbd97c9..bc1713ee84 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -1829,7 +1829,7 @@ SPL_METHOD(Array, __serialize) spl_array_object *intern = Z_SPLARRAY_P(ZEND_THIS); zval tmp; - if (zend_parse_parameters_none_throw() == FAILURE) { + if (zend_parse_parameters_none() == FAILURE) { RETURN_THROWS(); } diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index a9c7a3f939..0330d903dc 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -1221,7 +1221,7 @@ SPL_METHOD(SplDoublyLinkedList, __serialize) spl_ptr_llist_element *current = intern->llist->head; zval tmp; - if (zend_parse_parameters_none_throw() == FAILURE) { + if (zend_parse_parameters_none() == FAILURE) { RETURN_THROWS(); } diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c index 06b57cb68d..abdf45ef0f 100644 --- a/ext/spl/spl_observer.c +++ b/ext/spl/spl_observer.c @@ -877,7 +877,7 @@ SPL_METHOD(SplObjectStorage, __serialize) spl_SplObjectStorageElement *elem; zval tmp; - if (zend_parse_parameters_none_throw() == FAILURE) { + if (zend_parse_parameters_none() == FAILURE) { RETURN_THROWS(); } |