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($pastry, $fillings); 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.60.0150.00018.05
8.3.50.0120.00818.22
8.3.40.0160.00618.71
8.3.30.0110.00418.30
8.3.20.0060.00321.60
8.3.10.0050.00320.82
8.3.00.0070.00021.60
8.2.180.0060.01625.92
8.2.170.0110.00622.96
8.2.160.0070.00722.02
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0140.00026.16
8.2.120.0070.00019.64
8.2.110.0030.00720.35
8.2.100.0080.00417.78
8.2.90.0040.00419.71
8.2.80.0040.00418.04
8.2.70.0050.00517.91
8.2.60.0000.00818.09
8.2.50.0050.00219.26
8.2.40.0060.00319.17
8.2.30.0000.00820.46
8.2.20.0030.00518.09
8.2.10.0030.00618.82
8.2.00.0040.00418.07
8.1.280.0040.01525.92
8.1.270.0050.00320.82
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0100.00022.36
8.1.230.0080.00321.00
8.1.220.0060.00318.77
8.1.210.0000.00818.89
8.1.200.0030.00717.35
8.1.190.0050.00316.88
8.1.180.0030.00518.10
8.1.170.0060.00318.52
8.1.160.0000.00818.72
8.1.150.0040.00418.76
8.1.140.0030.00320.36
8.1.130.0070.00020.22
8.1.120.0030.00417.30
8.1.110.0030.00517.24
8.1.100.0030.00917.42
8.1.90.0040.00417.30
8.1.80.0070.00017.29
8.1.70.0000.00717.27
8.1.60.0040.00417.46
8.1.50.0070.00317.41
8.1.40.0050.00317.44
8.1.30.0000.01017.49
8.1.20.0030.00517.47
8.1.10.0040.00417.37
8.1.00.0040.00417.29
8.0.300.0040.00419.78
8.0.290.0030.00516.63
8.0.280.0000.00718.32
8.0.270.0040.00417.09
8.0.260.0030.00318.35
8.0.250.0060.00316.87
8.0.240.0040.00416.90
8.0.230.0040.00416.87
8.0.220.0030.00516.80
8.0.210.0050.00316.78
8.0.200.0000.00716.77
8.0.190.0000.00716.91
8.0.180.0000.00916.72
8.0.170.0000.00916.72
8.0.160.0040.00416.84
8.0.150.0030.00516.63
8.0.140.0070.00016.69
8.0.130.0030.00313.22
8.0.120.0000.00716.77
8.0.110.0050.00216.82
8.0.100.0040.00416.61
8.0.90.0040.00416.71
8.0.80.0060.01116.77
8.0.70.0040.00416.67
8.0.60.0000.00716.68
8.0.50.0060.00316.78
8.0.30.0110.00717.09
8.0.20.0110.00916.87
8.0.10.0040.00416.89
8.0.00.0100.00816.63
7.4.330.0050.00015.55
7.4.320.0030.00316.42
7.4.300.0070.00016.41
7.4.290.0070.00416.37
7.4.280.0030.00616.55
7.4.270.0080.00016.34
7.4.260.0040.00416.50
7.4.250.0050.00216.41
7.4.240.0030.00616.42
7.4.230.0000.00716.61
7.4.220.0000.01016.55
7.4.210.0070.00716.47
7.4.200.0000.00716.40
7.4.160.0110.00816.36
7.4.140.0110.00917.86
7.4.130.0110.00916.47
7.4.120.0060.01116.36
7.4.110.0090.01216.39
7.4.100.0100.00516.39
7.4.90.0090.00916.37
7.4.80.0000.01819.39
7.4.70.0060.00916.32
7.4.60.0100.00716.45
7.4.50.0070.00716.23
7.4.40.0080.01416.52
7.4.00.0040.01114.63
7.3.330.0000.00612.97
7.3.320.0030.00312.96
7.3.310.0060.00016.09
7.3.300.0040.00416.03
7.3.290.0000.00716.13
7.3.280.0030.01216.08
7.3.260.0120.00616.20
7.3.240.0090.00716.25
7.3.230.0090.00816.13
7.3.210.0130.00316.30
7.3.200.0440.00716.45
7.3.190.0110.00516.20
7.3.180.0100.00916.35
7.3.170.0100.00716.52
7.3.160.0150.00616.29
7.3.50.0060.01114.46
7.3.40.0100.00514.56
7.3.30.0040.01214.64
7.3.20.0080.00915.45
7.3.10.0090.00815.82
7.3.00.0120.00915.54
7.2.330.0180.00016.18
7.2.320.0100.01016.33
7.2.310.0130.00316.52
7.2.300.0100.01016.30
7.2.290.0120.00416.40
7.2.180.0110.00814.84
7.2.170.0110.00814.43
7.2.160.0130.00514.77
7.2.150.0140.00815.96
7.2.140.0230.00915.82
7.2.130.0100.01115.67
7.2.120.0120.00715.88
7.2.110.0070.01115.76
7.2.100.0140.00815.72
7.2.90.0110.01015.80
7.2.80.0100.00615.78
7.2.70.0190.01015.72
7.2.60.0090.00815.66
7.2.50.0100.00715.77
7.2.40.0110.00515.76
7.2.30.0100.00915.84
7.2.20.0100.00515.60
7.2.10.0050.01115.72
7.2.00.0090.00515.69
7.1.280.0110.00714.77
7.1.270.0100.00714.76
7.1.260.0150.00614.78
7.1.250.0060.01114.62

preferences:
63.22 ms | 401 KiB | 5 Q