]> granicus.if.org Git - php/commitdiff
- Fix #40442
authorMarcus Boerger <helly@php.net>
Fri, 6 Apr 2007 15:32:30 +0000 (15:32 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 6 Apr 2007 15:32:30 +0000 (15:32 +0000)
ext/spl/tests/bug40442.phpt [new file with mode: 0755]

diff --git a/ext/spl/tests/bug40442.phpt b/ext/spl/tests/bug40442.phpt
new file mode 100755 (executable)
index 0000000..139ede7
--- /dev/null
@@ -0,0 +1,12 @@
+--TEST--
+Bug #40442 ()
+--FILE--
+<?php
+$a = new ArrayObject();
+$a->offsetSet('property', 0);
+var_dump($a->offsetExists('property'));
+?>
+===DONE===
+--EXPECT--
+bool(true)
+===DONE===