3v4l.org

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

preferences:
111.83 ms | 2254 KiB | 5 Q