Annotation of embedaddon/php/ext/spl/tests/observer_007.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: SplObjectStorage comapred with ==
3: --FILE--
4: <?php
5: $a = new SplObjectStorage;
6: $b = new SplObjectStorage;
7: var_dump($a == $b);
8: $b[$b] = 2;
9: var_dump($a == $b);
10: $a[$b] = 2;
11: var_dump($a == $b);
12: $a[$b] = 3;
13: var_dump($a == $b);
14: ?>
15: ===DONE===
16: <?php exit(0); ?>
17: --EXPECTF--
18: bool(true)
19: bool(false)
20: bool(true)
21: bool(false)
22: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>