3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $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); ?>
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Locale: C<br/>PharFileInfo exists? true<br/>Locale: <br/>PharFileInfo exists? true
Output for hhvm-3.10.0 - 3.12.0
Locale: <br/>PharFileInfo exists? true<br/>Locale: <br/>PharFileInfo exists? true
Output for 4.3.0 - 5.2.17
Locale: C<br/>PharFileInfo exists? false<br/>Locale: <br/>PharFileInfo exists? false