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 - 7.1.0
Starting...<br />Locale: C<br />PharFileInfo exists? true<br />Locale: <br />PharFileInfo exists? true<br />
Output for 4.3.0 - 5.2.17
Starting...<br />Locale: C<br />PharFileInfo exists? false<br />Locale: <br />PharFileInfo exists? false<br />