3v4l.org

run code in 300+ PHP versions simultaneously
<?php$array = array(0=>array("id"=>9, "roi"=>0), 1=>array("id"=>1,"roi"=>0), 2=>array("id"=>10,"roi"=>0), 3=>array("id"=>14,"roi"=>0), 4=>array("id"=>4,"roi"=>0), 5=>array("id"=>5,"roi"=>141), 6=>array("id"=>6,"roi"=>2600));$a = array_reverse($array, true);print_r($a);
Output for git.master, git.master_jit, rfc.property-hooks
<?php$array = array(0=>array("id"=>9, "roi"=>0), 1=>array("id"=>1,"roi"=>0), 2=>array("id"=>10,"roi"=>0), 3=>array("id"=>14,"roi"=>0), 4=>array("id"=>4,"roi"=>0), 5=>array("id"=>5,"roi"=>141), 6=>array("id"=>6,"roi"=>2600));$a = array_reverse($array, true);print_r($a);

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