3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 123, 321, 231, ], [ "abc", "bca", "cab", ], [ 0.9999, 43.786, false, ], ]; array_multisort($arr[0], SORT_DESC, SORT_NUMERIC, $arr[1], SORT_STRING, $arr[2], SORT_ASC, SORT_NATURAL ); var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(3) { [0]=> int(321) [1]=> int(231) [2]=> int(123) } [1]=> array(3) { [0]=> string(3) "bca" [1]=> string(3) "cab" [2]=> string(3) "abc" } [2]=> array(3) { [0]=> float(43.786) [1]=> bool(false) [2]=> float(0.9999) } }

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:
27.09 ms | 406 KiB | 5 Q