3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=['z','Z','ą', 'Ą', 'a', 'o','ó','Ó','ł','Ł','ź','A','Ż','ę','e','ć','ń','ś']; $coll = collator_create( 'pl_PL' ); var_export( $a ); collator_sort( $coll, $a ); var_export( $a );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'z', 1 => 'Z', 2 => 'ą', 3 => 'Ą', 4 => 'a', 5 => 'o', 6 => 'ó', 7 => 'Ó', 8 => 'ł', 9 => 'Ł', 10 => 'ź', 11 => 'A', 12 => 'Ż', 13 => 'ę', 14 => 'e', 15 => 'ć', 16 => 'ń', 17 => 'ś', )array ( 0 => 'a', 1 => 'A', 2 => 'ą', 3 => 'Ą', 4 => 'ć', 5 => 'e', 6 => 'ę', 7 => 'ł', 8 => 'Ł', 9 => 'ń', 10 => 'o', 11 => 'ó', 12 => 'Ó', 13 => 'ś', 14 => 'z', 15 => 'Z', 16 => 'ź', 17 => 'Ż', )

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