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:
81.87 ms | 2286 KiB | 5 Q