3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $class = 'PharFileInfo'; echo 'Locale: '.setlocale(LC_ALL, '0')."\n"; echo "$class exists? ".var_export(class_exists($class), true)."\n"; echo 'Locale: '.setlocale(LC_ALL, 'tr_TR.UTF-8')."\n"; echo "$class exists? ".var_export(class_exists($class), true);
based on 3Fr3K
Output for 5.3.0 - 7.1.0
Locale: C PharFileInfo exists? true Locale: PharFileInfo exists? true
Output for 4.3.0 - 5.2.17
Locale: C PharFileInfo exists? false Locale: PharFileInfo exists? false