3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pastry = ['shortcrust' => 8, 'choux' => 4, 'filo' => 5]; $fillings = ['beef' => 3, 'cream' => 8, 'green onions' => 5]; array_multisort($fillings, $pastry); var_dump($pastry); var_dump($fillings);

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.00518.59
8.3.120.0000.00818.89
8.3.110.0060.00316.66
8.3.100.0070.00318.24
8.3.90.0000.00726.77
8.3.80.0000.01019.36
8.3.70.0080.00818.27
8.3.60.0090.00618.43
8.3.50.0140.00718.22
8.3.40.0180.00418.53
8.3.30.0070.00718.41
8.3.20.0080.00021.60
8.3.10.0000.00820.78
8.3.00.0000.00721.66
8.2.250.0130.00616.41
8.2.240.0030.00616.94
8.2.230.0080.00020.94
8.2.220.0000.00824.06
8.2.210.0060.00826.77
8.2.200.0060.00318.88
8.2.190.0140.00416.58
8.2.180.0140.00725.92
8.2.170.0060.00918.87
8.2.160.0110.00422.26
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00719.96
8.2.110.0030.00622.16
8.2.100.0070.00317.59
8.2.90.0080.00017.63
8.2.80.0050.00318.65
8.2.70.0000.00817.38
8.2.60.0040.00417.79
8.2.50.0080.00018.07
8.2.40.0000.00817.97
8.2.30.0040.00417.86
8.2.20.0040.00417.91
8.2.10.0000.00718.80
8.2.00.0040.00418.04
8.1.300.0040.00417.83
8.1.290.0060.00330.84
8.1.280.0060.01625.92
8.1.270.0040.00420.89
8.1.260.0140.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00020.47
8.1.230.0040.00717.83
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0040.00418.43
8.1.160.0030.00618.81
8.1.150.0000.00718.77
8.1.140.0000.00720.25
8.1.130.0030.00320.29
8.1.120.0040.00417.28
8.1.110.0040.00417.26
8.1.100.0040.00717.38
8.1.90.0030.00617.41
8.1.80.0000.00717.44
8.1.70.0030.00517.40
8.1.60.0080.00017.46
8.1.50.0000.00817.30
8.1.40.0040.00417.37
8.1.30.0080.00317.54
8.1.20.0060.00317.54
8.1.10.0040.00417.52
8.1.00.0000.00717.35
8.0.300.0040.00818.77
8.0.290.0040.00416.75
8.0.280.0040.00418.30
8.0.270.0000.00717.25
8.0.260.0030.00618.29
8.0.250.0070.00216.87
8.0.240.0060.00316.77
8.0.230.0030.00316.89
8.0.220.0040.00416.85
8.0.210.0000.00816.75
8.0.200.0000.00716.85
8.0.190.0070.00016.93
8.0.180.0020.00516.73
8.0.170.0090.00016.69
8.0.160.0000.00816.71
8.0.150.0040.00416.63
8.0.140.0000.00716.78
8.0.130.0000.00613.28
8.0.120.0040.00416.68
8.0.110.0050.00316.77
8.0.100.0050.00216.86
8.0.90.0000.00716.70
8.0.80.0020.01416.79
8.0.70.0050.00316.61
8.0.60.0040.00416.75
8.0.50.0000.00716.84
8.0.30.0070.01016.98
8.0.20.0100.01016.91
8.0.10.0040.00416.82
8.0.00.0110.00916.68
7.4.330.0040.00015.55
7.4.320.0040.00416.57
7.4.300.0030.00316.41
7.4.290.0040.00416.41
7.4.280.0040.00416.32
7.4.270.0060.00316.53
7.4.260.0030.00316.50
7.4.250.0000.00716.40
7.4.240.0050.00316.53
7.4.230.0030.00316.27
7.4.220.0030.00616.46
7.4.210.0060.00816.43
7.4.200.0000.00716.22
7.4.160.0120.00516.38
7.4.140.0140.01017.86
7.4.130.0160.00616.27
7.4.120.0080.01116.55
7.4.110.0080.00816.48
7.4.100.0120.00616.40
7.4.90.0120.00616.27
7.4.80.0090.01419.39
7.4.70.0130.00716.34
7.4.60.0110.00716.39
7.4.50.0090.00316.09
7.4.40.0120.00616.51
7.4.00.0000.01415.00
7.3.330.0050.00013.05
7.3.320.0000.00513.07
7.3.310.0000.00716.19
7.3.300.0070.00016.18
7.3.290.0040.01016.09
7.3.280.0080.00816.13
7.3.260.0100.01216.21
7.3.240.0080.00816.35
7.3.230.0070.01016.44
7.3.210.0070.01016.18
7.3.200.0110.00516.41
7.3.190.0080.00816.34
7.3.180.0080.01116.42
7.3.170.0100.01016.32
7.3.160.0070.01116.44
7.3.50.0060.00614.69
7.3.40.0070.01414.57
7.3.30.0080.00414.45
7.3.20.0180.01114.80
7.3.10.0250.00614.37
7.3.00.0150.00414.61
7.2.330.0130.00316.25
7.2.320.0060.01616.09
7.2.310.0090.00916.62
7.2.300.0130.00416.20
7.2.290.0100.00716.54
7.2.180.0090.00614.74
7.2.170.0110.00614.86
7.2.160.0060.01214.83
7.2.150.0230.00614.80
7.2.140.0160.00614.77
7.2.130.0160.00614.61
7.2.120.0160.00314.98
7.2.110.0220.00414.79
7.2.100.0160.00614.88
7.2.90.0170.00714.66
7.2.80.0110.00714.96
7.2.70.0150.01114.96
7.2.60.0160.01214.93
7.2.50.0240.00614.75
7.2.40.0170.00714.79
7.2.30.0220.00614.74
7.2.20.0210.00314.78
7.2.10.0130.01614.78
7.2.00.0660.00316.83
7.1.280.0280.00313.84
7.1.270.0170.00613.93
7.1.260.0170.00313.99
7.1.250.0150.01213.63

preferences:
30.68 ms | 403 KiB | 5 Q