3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(Locale::parseLocale('cs_cz')); var_dump(Locale::parseLocale('cs_Latn_CZ_VAR1_VAR2_X_PRI1_PRI2@calendar=iso8601;colbackwards=yes;colcasefirst=lower;collation=phonebook;currency=CZK;numbers=arab'));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["language"]=> string(2) "cs" ["region"]=> string(2) "CZ" } array(7) { ["language"]=> string(2) "cs" ["script"]=> string(4) "Latn" ["region"]=> string(2) "CZ" ["variant0"]=> string(4) "VAR1" ["variant1"]=> string(4) "VAR2" ["private0"]=> string(4) "PRI1" ["private1"]=> string(103) "PRI2@calendar=iso8601;colbackwards=yes;colcasefirst=lower;collation=phonebook;currency=CZK;numbers=arab" }

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:
44.48 ms | 402 KiB | 8 Q