3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); if ( defined(System) && defined (out)) { System.out.print('Hi'); } else { echo "No Java here :)"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant System - assumed 'System' in /in/dLJLR on line 3 No Java here :)
Output for hhvm-3.12.0
Notice: Use of undefined constant System - assumed 'System' in /in/dLJLR on line -1 No Java here :)