3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['Title' => 'rose', 'Price' => 1.25, 'Number' => '10'], ['Title' => 'daisy', 'Price' => 0.75, 'Number' => '1'], ['Title' => 'orchid', 'Price' => 1.15, 'Number' => '7'] ]; usort($array, fn ($a, $b) => $a['Number'] <=> $b['Number']); var_export($array);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'Title' => 'daisy', 'Price' => 0.75, 'Number' => '1', ), 1 => array ( 'Title' => 'orchid', 'Price' => 1.15, 'Number' => '7', ), 2 => array ( 'Title' => 'rose', 'Price' => 1.25, 'Number' => '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:
25.21 ms | 406 KiB | 5 Q