Re: [PATCH] Bug #28822
| From: | Florian Schaper | Date: | Mon, 21 Jun 2004 18:00:39 +0000 |
| Subject: | Re: [PATCH] Bug #28822 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10700@lists.php.net to get a copy of this message | ||
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)