3v4l.org

run code in 300+ PHP versions simultaneously
<?php $veryImportantBankBalance = ['one' => 1, 'two' => 2]; $notSoImportantBankBalance = ['one' => 101, 'two' => 201]; $dontScrewUp = array_merge($veryImportantBankBalance, $notSoImportantBankBalance); var_dump($dontScrewUp);

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.0070.00716.38
8.3.50.0100.00716.39
8.3.40.0110.00421.77
8.3.30.0110.00418.44
8.3.20.0070.00024.18
8.3.10.0000.00924.66
8.3.00.0040.00426.16
8.2.180.0110.00725.92
8.2.170.0090.00618.83
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0070.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0040.00821.18
8.2.100.0110.00020.34
8.2.90.0030.00719.35
8.2.80.0090.00018.09
8.2.70.0000.00817.38
8.2.60.0040.00417.25
8.2.50.0080.00018.05
8.2.40.0000.00818.16
8.2.30.0080.00017.91
8.2.20.0000.00717.98
8.2.10.0040.00419.30
8.2.00.0030.00519.23
8.1.280.0090.00925.92
8.1.270.0080.00023.99
8.1.260.0040.00428.09
8.1.250.0050.00228.09
8.1.240.0060.00322.19
8.1.230.0080.00419.14
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0050.00319.36
8.1.170.0070.00318.52
8.1.160.0040.00418.80
8.1.150.0050.00218.72
8.1.140.0070.00018.81
8.1.130.0030.00320.27
8.1.120.0030.00417.41
8.1.110.0090.00017.34
8.1.100.0040.00417.38
8.1.90.0000.00817.37
8.1.80.0060.00317.38
8.1.70.0000.00817.34
8.1.60.0000.00817.54
8.1.50.0040.00417.49
8.1.40.0040.00417.47
8.1.30.0040.00417.54
8.1.20.0000.00717.42
8.1.10.0000.00817.32
8.1.00.0060.00317.21
8.0.300.0040.00419.71
8.0.290.0040.00416.63
8.0.280.0070.00018.41
8.0.270.0040.00317.96
8.0.260.0000.00620.17
8.0.250.0000.00716.78
8.0.240.0070.00016.77
8.0.230.0030.00316.75
8.0.220.0000.00716.79
8.0.210.0000.00716.77
8.0.200.0000.00716.84
8.0.190.0060.00316.75
8.0.180.0000.00816.73
8.0.170.0090.00316.84
8.0.160.0060.00316.78
8.0.150.0040.00416.83
8.0.140.0040.00716.66
8.0.130.0000.00513.24
8.0.120.0030.00516.82
8.0.110.0000.00816.65
8.0.100.0040.00416.87
8.0.90.0070.00016.63
8.0.80.0090.00516.74
8.0.70.0040.00416.61
8.0.60.0040.00416.68
8.0.50.0000.00816.83
8.0.30.0110.00616.80
8.0.20.0140.00516.94
8.0.10.0040.00416.97
8.0.00.0180.00016.66
7.4.330.0050.00015.55
7.4.320.0030.00316.50
7.4.300.0000.00716.45
7.4.290.0020.00516.41
7.4.280.0090.00016.34
7.4.270.0000.00816.58
7.4.260.0040.00413.20
7.4.250.0030.00616.41
7.4.240.0030.00416.45
7.4.230.0050.00216.63
7.4.220.0070.00016.38
7.4.210.0110.00616.51
7.4.200.0040.00416.27
7.4.130.0070.01316.50
7.4.120.0100.00816.50
7.4.110.0090.00916.17
7.4.100.0050.01316.39
7.4.90.0110.01416.16
7.4.80.0150.00916.34
7.4.70.0130.00816.45
7.4.60.0120.00716.34
7.4.50.0110.01116.34
7.4.40.0060.01816.35
7.4.30.0040.01516.42
7.4.20.0050.01316.58
7.4.10.0150.00916.16
7.4.00.0080.01716.45
7.3.330.0070.00015.91
7.3.320.0030.00313.00
7.3.310.0030.00316.06
7.3.300.0060.00016.04
7.3.290.0070.00916.10
7.3.260.0130.00316.23
7.3.240.0090.00916.12
7.3.230.0140.00416.44
7.3.220.0050.01816.25
7.3.210.0130.01216.39
7.3.200.0120.00716.51
7.3.190.0080.01116.14
7.3.180.0130.01016.11
7.3.170.0150.00716.33
7.3.160.0030.02016.48
7.3.150.0110.00716.18
7.3.140.0090.01316.14
7.3.130.0140.01016.07
7.3.120.0090.00916.44
7.3.110.0060.01515.97
7.3.100.0190.00315.96
7.3.90.0160.00316.32
7.3.80.0100.01016.18
7.3.70.0100.01016.14
7.3.60.0080.01416.04
7.3.50.0150.00916.31
7.3.40.0120.00516.24
7.3.30.0150.00416.11
7.3.20.0160.00616.23
7.3.10.0170.00616.13
7.3.00.0140.00915.99
7.2.340.0000.01916.37
7.2.330.0040.01716.62
7.2.320.0090.00916.38
7.2.310.0090.01616.41
7.2.300.0130.01316.15
7.2.290.0030.01816.55
7.2.280.0040.01516.55
7.2.270.0120.01216.43
7.2.260.0180.01116.50
7.2.250.0080.01616.23
7.2.240.0110.01516.55
7.2.230.0140.00616.38
7.2.220.0080.01916.29
7.2.210.0060.01516.33
7.2.200.0120.00616.28
7.2.190.0100.01016.23
7.2.180.0110.01116.45
7.2.170.0070.01016.43
7.2.160.0160.00716.23
7.2.150.0120.01216.65
7.2.140.0080.01316.63
7.2.130.0090.01616.58
7.2.120.0130.01016.46
7.2.110.0090.01116.45
7.2.100.0250.01616.65
7.2.90.0100.01216.32
7.2.80.0090.01716.44
7.2.70.0190.00816.46
7.2.60.0120.01316.54
7.2.50.0120.01216.44
7.2.40.0090.00916.52
7.2.30.0170.00316.48
7.2.20.0130.00416.31
7.2.10.0110.01116.48
7.2.00.0080.01216.41

preferences:
65.47 ms | 401 KiB | 5 Q