3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = ["def", "yz", "abc", "jkl", "123", "789", "stu"]; array_multisort($test, SORT_NUMERIC, $test); var_export($test);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'abc', 1 => 'def', 2 => 'jkl', 3 => 'stu', 4 => 'yz', 5 => '123', 6 => '789', )

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:
25.68 ms | 405 KiB | 5 Q