summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2007-04-06 15:32:30 +0000
committerMarcus Boerger <helly@php.net>2007-04-06 15:32:30 +0000
commit63d8f702068c6f3b363af962bf7bf5ea9e33a457 (patch)
tree8f7a8768e25ea43ec11e5d8444cd88a2770fddd6 /ext/spl
parentaa18505f347f93c6ca1281cd1a1a3b3a6877c969 (diff)
downloadphp-git-63d8f702068c6f3b363af962bf7bf5ea9e33a457.tar.gz
- Fix #40442
Diffstat (limited to 'ext/spl')
-rwxr-xr-xext/spl/tests/bug40442.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/spl/tests/bug40442.phpt b/ext/spl/tests/bug40442.phpt
new file mode 100755
index 0000000000..139ede7b46
--- /dev/null
+++ b/ext/spl/tests/bug40442.phpt
@@ -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===