3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = function($b = '1'){$a = '123';}; echo spl_object_hash($a); echo spl_object_hash($a);

preferences:
35.71 ms | 402 KiB | 5 Q