3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'content_type' => [ 'story', 'delhi', 'tez' ], 'type' => [ 'video_id', 'subcategory', 'story_id' ], 'fetch_id' => [ 32, 32, 2 ], 'order' => [ 6, 4, 5 ], 'label' => [ 'dsfs fdsf dsf sdf', 'dfsdfs', 'sdfsdfsd' ], 'link' => [ 'fsd fsdf sdf', 'fsdfsdfdsf', 'fsdfdsfds' ], 'record' => [ 10, 8, 12 ] ]; array_multisort( $array['order'], $array['content_type'], $array['type'], $array['fetch_id'], $array['label'], $array['link'], $array['record'] ); var_export($array);
Output for git.master, git.master_jit
array ( 'content_type' => array ( 0 => 'delhi', 1 => 'tez', 2 => 'story', ), 'type' => array ( 0 => 'subcategory', 1 => 'story_id', 2 => 'video_id', ), 'fetch_id' => array ( 0 => 32, 1 => 2, 2 => 32, ), 'order' => array ( 0 => 4, 1 => 5, 2 => 6, ), 'label' => array ( 0 => 'dfsdfs', 1 => 'sdfsdfsd', 2 => 'dsfs fdsf dsf sdf', ), 'link' => array ( 0 => 'fsdfsdfdsf', 1 => 'fsdfdsfds', 2 => 'fsd fsdf sdf', ), 'record' => array ( 0 => 8, 1 => 12, 2 => 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:
53.44 ms | 406 KiB | 5 Q