3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '[ { "profile_name": "J3S", "post_count": 9 }, { "profile_name": "John", "post_count": 3 }, { "profile_name": "sato", "post_count": 10 } ]'; $array = json_decode($data, true); array_multisort(array_column($array, 'post_count'), SORT_ASC, $array); echo json_encode($array, JSON_PRETTY_PRINT);
Output for git.master, git.master_jit, rfc.property-hooks
[ { "profile_name": "John", "post_count": 3 }, { "profile_name": "J3S", "post_count": 9 }, { "profile_name": "sato", "post_count": 10 } ]

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:
62.89 ms | 401 KiB | 8 Q