3v4l.org

run code in 500+ PHP versions simultaneously
<?php $myArray = [ 'orange' => 3, 'lemon' => 1, 'banana' => 5, 'kiwi' => 11, 'apple' => 2, ]; print_r($myArray); arsort($myArray); print_r($myArray);
Output for rfc.property-hooks, git.master, git.master_jit
Array ( [orange] => 3 [lemon] => 1 [banana] => 5 [kiwi] => 11 [apple] => 2 ) Array ( [kiwi] => 11 [banana] => 5 [orange] => 3 [apple] => 2 [lemon] => 1 )

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:
49.36 ms | 1508 KiB | 4 Q