We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ea2d8 commit 2fa33d1Copy full SHA for 2fa33d1
ext/spl/spl_array.c
@@ -1574,7 +1574,7 @@ PHP_METHOD(ArrayObject, unserialize)
1574
1575
if (intern->nApplyCount > 0) {
1576
zend_throw_error(NULL, "Modification of ArrayObject during sorting is prohibited");
1577
- return;
+ RETURN_THROWS();
1578
}
1579
1580
/* storage */
@@ -1773,7 +1773,7 @@ PHP_METHOD(ArrayObject, __unserialize)
1773
PHP_METHOD(ArrayObject, __debugInfo)
1774
{
1775
if (zend_parse_parameters_none() == FAILURE) {
1776
1777
1778
1779
RETURN_ARR(spl_array_get_debug_info(Z_OBJ_P(ZEND_THIS)));
0 commit comments