Should fix the "inverted" behavoiur of ArrayObject::offsetExists as
described in #28822
Maybe someone can take a look at it.
./regards
Florian
Should fix the "inverted" behavoiur of ArrayObject::offsetExists as
described in #28822
Nothing is attached, please place it online and provide an URL to it.
(Our mailinglist strips non-"text/plain" attachments).
regards,
Derick
Jup, noticed. Let's try that again:
------------- schnipp -----------------
--- spl_array.c 2004-06-20 20:30:30.000000000 +0200
+++ spl_array.c 2004-06-21 19:37:18.000000000 +0200
@@ -337,7 +337,7 @@
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) ==
FAILURE) {
return;
}
-
RETURN_BOOL(spl_array_has_dimension(getThis(), index, 1 TSRMLS_CC)
== SUCCESS);
-
RETURN_BOOL(spl_array_has_dimension(getThis(), index, 1 TSRMLS_CC)
!= 0 );
} /* }}} */
/* {{{ proto bool ArrayObject::offsetGet(mixed $index)