3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ ['105945', 'First name', 0.080878465391], ['109145', 'Second name', 0.0504154818384], ]; usort($arr, fn($a, $b) => $a[2] <=> $b[2]); var_export($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => '109145', 1 => 'Second name', 2 => 0.0504154818384, ), 1 => array ( 0 => '105945', 1 => 'First name', 2 => 0.080878465391, ), )

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:
154.58 ms | 405 KiB | 5 Q