3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr; for ($i=100;$i<105;$i++) { $arr[] = array($i => $i-10); } print_r($arr); // Standard asort asort($arr); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [100] => 90 ) [1] => Array ( [101] => 91 ) [2] => Array ( [102] => 92 ) [3] => Array ( [103] => 93 ) [4] => Array ( [104] => 94 ) ) Array ( [4] => Array ( [104] => 94 ) [3] => Array ( [103] => 93 ) [1] => Array ( [101] => 91 ) [2] => Array ( [102] => 92 ) [0] => Array ( [100] => 90 ) )

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