3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); echo('start'); function _($x){return ($x)?htmlspecialchars($x):'nbsp;';} echo('end');
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.1.9
Fatal error: Cannot redeclare _() in /in/f9poH on line 4
Process exited with code 255.
Output for hhvm-3.17.3 - 3.21.0
Fatal error: Uncaught Error: Cannot redeclare _() in : Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.1, hhvm-3.15.4
startend
Output for hhvm-3.11.1 - 3.13.2
Fatal error: Uncaught Error: Function already defined: _ in : Stack trace: #0 {main}
Process exited with code 255.