3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'Starting...<br />'; $class = 'PharFileInfo'; echo 'Locale: '.setlocale(LC_ALL, '0')."<br />"; echo "$class exists? ".var_export(class_exists($class), true)."<br />"; echo 'Locale: '.setlocale(LC_ALL, 'tr_TR.UTF-8')."<br />"; echo "$class exists? ".var_export(class_exists($class), true)."<br />"; >?
Output for 5.3.0 - 5.4.4
Parse error: syntax error, unexpected '>' in /in/LRiTc on line 8
Process exited with code 255.