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:
71.01 ms | 402 KiB | 5 Q