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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.00.0120.00919.89
8.4.150.0010.00114.05
8.4.140.0160.00619.29
8.4.130.0100.01017.53
8.4.120.0100.01120.52
8.4.110.0130.00622.46
8.4.100.0060.00417.92
8.4.90.0120.00917.71
8.4.80.0120.00617.48
8.4.70.0020.00617.64
8.4.60.0100.01117.79
8.4.50.0100.01018.64
8.4.40.0100.01017.67
8.4.30.0120.00818.77
8.4.20.0190.00618.34
8.4.10.0130.00417.52
8.3.280.0100.00918.33
8.3.270.0090.01016.80
8.3.260.0110.01016.40
8.3.250.0130.00518.89
8.3.240.0060.00517.04
8.3.230.0120.00816.79
8.3.220.0040.00317.09
8.3.210.0080.00716.74
8.3.200.0100.00816.49
8.3.190.0070.00917.28
8.3.180.0040.00419.07
8.3.170.0100.00717.23
8.3.160.0140.00517.27
8.3.150.0200.00316.27
8.3.140.0160.00617.39
8.3.130.0150.00316.15
8.3.120.0160.00216.59
8.3.110.0150.00316.64
8.3.100.0150.00616.48
8.3.90.0190.00216.48
8.3.80.0200.00016.30
8.3.70.0170.00416.41
8.3.60.0140.00616.49
8.3.50.0230.00116.41
8.3.40.0230.00318.29
8.3.30.0120.00717.21
8.3.20.0160.00317.26
8.3.10.0180.00417.37
8.3.00.0050.00817.29
8.2.290.0040.00620.50
8.2.280.0100.01016.86
8.2.270.0170.00416.48
8.2.260.0150.00616.54
8.2.250.0160.00116.46
8.2.240.0190.00316.50
8.2.230.0150.00816.27
8.2.220.0170.00316.61
8.2.210.0170.00316.40
8.2.200.0150.00316.16
8.2.190.0130.00516.53
8.2.180.0140.00316.53
8.2.170.0240.00017.41
8.2.160.0200.00417.47
8.2.150.0140.00417.29
8.2.140.0160.00317.31
8.2.130.0120.00617.27
8.2.120.0130.00417.16
8.2.110.0160.00417.21
8.2.100.0140.00517.30
8.2.90.0160.00317.38
8.2.80.0160.01117.34
8.2.70.0170.00317.17
8.2.60.0160.00217.15
8.2.50.0130.00417.31
8.2.40.0120.00417.44
8.2.30.0110.00617.31
8.2.20.0180.00617.26
8.2.10.0150.00517.21
8.2.00.0150.00217.17
8.1.320.0090.01016.16

preferences:
54.75 ms | 403 KiB | 5 Q