3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrTags = [ 'mango' => 2, 'orange' => 4, 'apple' => 2, 'banana' => 3, 'peach' => 3, 'strawberry' => 3, 'blueberry' => 3, 'raspberry' => 3, 'lychee' => 2, 'fig' => 1, 'guava' => 1, 'grape' => 3, 'watermelon' => 2, 'kiwi' => 5, 'pear' => 3 ]; ksort($arrTags); arsort($arrTags); var_export($arrTags);
Output for git.master_jit, git.master, rfc.property-hooks
array ( 'kiwi' => 5, 'orange' => 4, 'banana' => 3, 'blueberry' => 3, 'grape' => 3, 'peach' => 3, 'pear' => 3, 'raspberry' => 3, 'strawberry' => 3, 'apple' => 2, 'lychee' => 2, 'mango' => 2, 'watermelon' => 2, 'fig' => 1, 'guava' => 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:
107.65 ms | 406 KiB | 5 Q