3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(locale_lookup(['en', 'fr'], 'fr_CH', true));
based on 1REpd
Output for 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function locale_lookup() in /in/i7dbG:3 Stack trace: #0 {main} thrown in /in/i7dbG on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
string(2) "fr"