3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo('start'); function _($x){return ($x)?htmlspecialchars($x):'nbsp;';} echo('end');

preferences:
9.74 ms | 408 KiB | 5 Q