xref: /php-src/ext/spl/tests/spl_object_id.phpt (revision 852485d8)
1--TEST--
2SPL: spl_object_id()
3--FILE--
4<?php
5
6var_dump(spl_object_id(new stdClass));
7$a = new stdClass();
8var_dump(spl_object_id(new stdClass) === spl_object_id($a));
9
10?>
11--EXPECTF--
12int(%d)
13bool(false)
14