3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(Locale::parseLocale('')); var_dump(Locale::parseLocale());
Output for rfc.property-hooks, git.master_jit, git.master
array(3) { ["language"]=> string(2) "en" ["region"]=> string(2) "US" ["variant0"]=> string(5) "POSIX" } Fatal error: Uncaught ArgumentCountError: Locale::parseLocale() expects exactly 1 argument, 0 given in /in/vVCo23:4 Stack trace: #0 /in/vVCo23(4): Locale::parseLocale() #1 {main} thrown in /in/vVCo23 on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
47.01 ms | 2827 KiB | 4 Q