3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'asd', 'ASD', 'sdf', 'SDF', 'Third', ); $b = array( 'yy', 'kaa', 'koo', 'nee', 'vii', ); setlocale(LC_CTYPE, 'fi_FI'); array_multisort($b, SORT_STRING | SORT_FLAG_CASE, $a); var_dump($a, $b);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [0]=> string(3) "ASD" [1]=> string(3) "sdf" [2]=> string(3) "SDF" [3]=> string(5) "Third" [4]=> string(3) "asd" } array(5) { [0]=> string(3) "kaa" [1]=> string(3) "koo" [2]=> string(3) "nee" [3]=> string(3) "vii" [4]=> string(2) "yy" }

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:
56.33 ms | 401 KiB | 8 Q