3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( array( "id" => 1, "name" => "Bruce Wayne", "city" => "Gotham", "gender" => "Male" ), array( "id" => 2, "name" => "Diana Prince", "city" => "Gotham", "gender" => "Male" ), array( "id" => 4, "name" => "Speedy Gonzales", "city" => "New Mexico", "gender" => "Male" ), array( "id" => 3, "name" => "Diana Prince", "city" => "New Mexico", "gender" => "Female" ), array( "id" => 5, "name" => "Bruce Wayne", "city" => "Gotham", "gender" => "Male" ), ); array_multisort(array_column($data, "name"), SORT_ASC, $data); print_r($data);

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.3.130.0050.00516.29
8.3.120.0150.00418.40
8.3.110.0040.00418.23
8.3.100.0130.00620.18
8.3.90.0080.00019.98
8.3.80.0060.00318.18
8.3.70.0090.00916.50
8.3.60.0070.00718.18
8.3.50.0150.00618.05
8.3.40.0070.01118.54
8.3.30.0040.01118.39
8.3.20.0040.00421.66
8.3.10.0000.00921.49
8.3.00.0040.00421.85
8.2.250.0040.00418.33
8.2.240.0120.00616.61
8.2.230.0030.00620.94
8.2.220.0110.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00318.54
8.2.190.0040.01116.58
8.2.180.0110.00416.38
8.2.170.0070.00722.96
8.2.160.0030.01022.25
8.2.150.0040.00424.18
8.2.140.0060.00924.66
8.2.130.0040.00426.16
8.2.120.0040.00420.83
8.2.110.0060.00322.27
8.2.100.0110.00417.90
8.2.90.0050.00319.08
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0040.00417.90
8.2.50.0040.00418.07
8.2.40.0050.00318.10
8.2.30.0040.00418.04
8.2.20.0030.00617.93
8.2.10.0030.00519.05
8.2.00.0040.00417.86
8.1.300.0110.00016.43
8.1.290.0090.00318.88
8.1.280.0120.00925.92
8.1.270.0040.00418.27
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00320.57
8.1.230.0070.00717.64
8.1.220.0090.00017.74
8.1.210.0050.00518.77
8.1.200.0080.00017.35
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0000.00818.56
8.1.160.0000.00918.88
8.1.150.0080.00018.76
8.1.140.0050.00219.09
8.1.130.0030.00320.16
8.1.120.0000.00817.38
8.1.110.0060.00317.27
8.1.100.0060.00317.42
8.1.90.0000.00717.41
8.1.80.0030.00617.34
8.1.70.0000.00717.39
8.1.60.0080.00017.38
8.1.50.0000.00717.45
8.1.40.0030.00617.43
8.1.30.0030.00517.46
8.1.20.0060.00317.59
8.1.10.0040.00417.45
8.1.00.0000.00717.46
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0040.00418.37
8.0.270.0050.00317.19
8.0.260.0060.00318.42
8.0.250.0070.00016.92
8.0.240.0030.00316.80
8.0.230.0040.00416.87
8.0.220.0070.00016.84
8.0.210.0030.00516.82
8.0.200.0000.00616.92
8.0.190.0000.00816.83
8.0.180.0000.00816.84
8.0.170.0050.00616.85
8.0.160.0030.00616.74
8.0.150.0090.00016.77
8.0.140.0000.00716.67
8.0.130.0050.00013.27
8.0.120.0040.00416.80
8.0.110.0070.00016.80
8.0.100.0040.00416.86
8.0.90.0040.00416.82
8.0.80.0090.01016.77
8.0.70.0040.00416.88
8.0.60.0070.00016.64
8.0.50.0040.00416.85
8.0.30.0080.01117.13
8.0.20.0130.01016.91
8.0.10.0040.00416.99
8.0.00.0100.01016.74
7.4.330.0000.00516.70
7.4.320.0030.00316.46
7.4.300.0040.00416.54
7.4.290.0030.00316.51
7.4.280.0000.00816.41
7.4.270.0060.00316.52
7.4.260.0000.00716.41
7.4.250.0000.00716.43
7.4.240.0000.00816.34
7.4.230.0030.00516.46
7.4.220.0040.00416.27
7.4.210.0010.01316.44
7.4.200.0030.00316.30
7.4.160.0110.00516.44
7.4.140.0070.01117.86
7.4.130.0070.01116.20
7.4.120.0120.00616.39
7.4.110.0100.00716.59
7.4.100.0110.00716.35
7.4.90.0080.00916.18
7.4.80.0090.00819.39
7.4.70.0140.00316.56
7.4.60.0070.00716.48
7.4.50.0110.00216.50
7.4.40.0130.00316.40
7.4.00.0120.00314.99
7.3.330.0030.00312.86
7.3.320.0040.00412.96
7.3.310.0040.00416.00
7.3.300.0070.00016.10
7.3.290.0120.00316.16
7.3.280.0100.00616.12
7.3.260.0090.00816.32
7.3.240.0120.01016.22
7.3.230.0060.01216.36
7.3.210.0170.00016.34
7.3.200.0130.00316.41
7.3.190.0090.00916.20
7.3.180.0180.00616.45
7.3.170.0070.01016.31
7.3.160.0040.01416.28
7.3.120.0100.00714.66
7.3.110.0070.01314.75
7.3.100.0000.01514.62
7.3.90.0040.01414.69
7.3.80.0000.00914.56
7.3.70.0000.00914.70
7.3.60.0070.00714.76
7.3.50.0000.01614.56
7.3.40.0090.00614.39
7.3.30.0060.00914.54
7.3.20.0130.00615.71
7.3.10.0070.00715.40
7.3.00.0070.00815.27
7.2.330.0130.00316.36
7.2.320.0140.00916.25
7.2.310.0100.01416.59
7.2.300.0090.00616.22
7.2.290.0100.00716.30
7.2.250.0180.00314.57
7.2.240.0070.01314.73
7.2.230.0100.00614.79
7.2.220.0070.00714.66
7.2.210.0040.01114.69
7.2.200.0070.01014.86
7.2.190.0060.00614.95
7.2.180.0090.00614.90
7.2.170.0050.01014.56
7.2.160.0060.00614.80
7.2.150.0150.00314.68
7.2.140.0140.00714.77
7.2.130.0120.01214.68
7.2.120.0150.00014.75
7.2.110.0170.01614.78
7.2.100.0160.00314.79
7.2.90.0130.00614.92
7.2.80.0120.00314.62
7.2.70.0140.00714.51
7.2.60.0120.00614.91
7.2.50.0160.00614.93
7.2.40.0100.01014.92
7.2.30.0130.00714.89
7.2.20.0170.01015.07
7.2.10.0120.01714.79
7.2.00.0180.00415.12
7.1.330.0000.01515.73
7.1.320.0130.00315.71
7.1.310.0040.00815.45
7.1.300.0060.01015.61
7.1.290.0120.00615.70
7.1.280.0100.01014.52
7.1.270.0110.00314.77
7.1.260.0100.01114.76
7.1.250.0070.01113.88

preferences:
59.53 ms | 403 KiB | 5 Q