]> granicus.if.org Git - php/commitdiff
Fix 2nd issue of bug #28831
authorMarcus Boerger <helly@php.net>
Sun, 20 Jun 2004 16:46:27 +0000 (16:46 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 20 Jun 2004 16:46:27 +0000 (16:46 +0000)
ext/spl/spl_array.c

index 2f3e145f93a982db8b5a1652cb63b0362e135a1c..28a4870366aefaea1fcab8ae25ad6fb4aa10a0cd 100755 (executable)
@@ -350,7 +350,7 @@ SPL_METHOD(Array, offsetGet)
                return;
        }
        value = spl_array_read_dimension(getThis(), index, BP_VAR_R TSRMLS_CC);
-       RETURN_ZVAL(value, 0, 1);
+       RETURN_ZVAL(value, 1, 0);
 } /* }}} */
 
 /* {{{ proto void ArrayObject::offsetSet(mixed $index, mixed $newval)