diff options
| author | Marcus Boerger <helly@php.net> | 2007-04-06 15:32:30 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2007-04-06 15:32:30 +0000 |
| commit | 63d8f702068c6f3b363af962bf7bf5ea9e33a457 (patch) | |
| tree | 8f7a8768e25ea43ec11e5d8444cd88a2770fddd6 /ext/spl | |
| parent | aa18505f347f93c6ca1281cd1a1a3b3a6877c969 (diff) | |
| download | php-git-63d8f702068c6f3b363af962bf7bf5ea9e33a457.tar.gz | |
- Fix #40442
Diffstat (limited to 'ext/spl')
| -rwxr-xr-x | ext/spl/tests/bug40442.phpt | 12 |
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=== |
