3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h1 = spl_object_hash(new stdClass); // the obj is destroyed just after the call $h2 = spl_object_hash(new stdClass); // when the second obj is constructed, the first is destroyed already, so it could happen that the second one getr the same memory address internally var_dump($h1 === $h2);

preferences:
40.98 ms | 402 KiB | 5 Q