3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); if ( defined(System) && defined (out)) { System.out.print('Hi'); } else { echo "no go"; }
Output for 7.2.0
Warning: Use of undefined constant System - assumed 'System' (this will throw an Error in a future version of PHP) in /in/Ym7jN on line 4 no go
Output for 4.3.0 - 7.1.7
Notice: Use of undefined constant System - assumed 'System' in /in/Ym7jN on line 4 no go