3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo Locale::getDisplayLanguage('de_de');
based on anvuQ
Output for 7.3.0alpha1 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'Locale' not found in /in/VK4Ie:3 Stack trace: #0 {main} thrown in /in/VK4Ie on line 3
Process exited with code 255.
Output for 5.6.30, 7.0.30 - 7.2.8
German
Output for hhvm-3.22.0
Warning: Locale::getDisplayLanguage() expects exactly 2 parameters, 1 given in /in/VK4Ie on line -1
Output for hhvm-3.18.5 - 3.21.3
Warning: Locale::getDisplayLanguage() expects exactly 2 parameters, 1 given in /in/VK4Ie on line 3