3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = null; $e = &$var; try { throw new Exception; } catch (Exception $e) { } assert('$e !== null'); assert('$var !== null');

preferences:
61.05 ms | 407 KiB | 5 Q