1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/spl/tests/spl_object_id.phpt
2019-03-11 11:32:20 +01:00

14 lines
203 B
PHP

--TEST--
SPL: spl_object_id()
--FILE--
<?php
var_dump(spl_object_id(new stdClass));
$a = new stdClass();
var_dump(spl_object_id(new stdClass) === spl_object_id($a));
?>
--EXPECTF--
int(%d)
bool(false)