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)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to