Annotation of embedaddon/php/ext/spl/tests/spl_005.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: spl_object_hash()
3: --FILE--
4: <?php
5:
6: var_dump(spl_object_hash(new stdClass));
7: var_dump(spl_object_hash(42));
8: var_dump(spl_object_hash());
9:
10: ?>
11: ===DONE===
12: <?php exit(0); ?>
13: --EXPECTF--
14: string(32) "%s"
15:
16: Warning: spl_object_hash() expects parameter 1 to be object, integer given in %sspl_005.php on line %d
17: NULL
18:
19: Warning: spl_object_hash() expects exactly 1 parameter, 0 given in %sspl_005.php on line %d
20: NULL
21: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>