3v4l.org

run code in 200+ 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 - 7.2.0
Locale: C<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