3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $a1=array("flagname"=>"LTV Under 50","b"=>"green"); $a2=array("flagname"=>"blue","b"=>"yellow"); print_r(array_merge((array)$a1,(array)$a2)); ?> </body> </html>

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.40.0120.00618.54
8.3.30.0070.00719.01
8.3.20.0000.00720.22
8.3.10.0090.00023.67
8.3.00.0070.00019.04
8.2.170.0040.01122.96
8.2.160.0100.00720.35
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00020.95
8.2.110.0100.00722.07
8.2.100.0080.00417.72
8.2.90.0090.00019.16
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0030.00517.91
8.2.50.0000.00818.07
8.2.40.0040.00419.88
8.2.30.0030.00318.23
8.2.20.0030.00617.60
8.2.10.0040.00417.92
8.2.00.0080.00017.52
8.1.270.0000.00823.87
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00023.98
8.1.230.0030.00719.21
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0040.00417.10
8.1.180.0040.00418.96
8.1.170.0090.00018.38
8.1.160.0030.00521.88
8.1.150.0000.00718.54
8.1.140.0040.00417.30
8.1.130.0030.00317.71
8.1.120.0070.00017.42
8.1.110.0080.00017.43
8.1.100.0040.00417.34
8.1.90.0000.00717.38
8.1.80.0000.00817.40
8.1.70.0030.00317.38
8.1.60.0040.00417.61
8.1.50.0050.00317.48
8.1.40.0000.00717.43
8.1.30.0000.00817.67
8.1.20.0060.00317.64
8.1.10.0040.00417.45
8.1.00.0040.00417.45
8.0.300.0070.00018.77
8.0.290.0000.00717.18
8.0.280.0040.00418.30
8.0.270.0030.00517.19
8.0.260.0000.00617.20
8.0.250.0000.00716.75
8.0.240.0040.00416.80
8.0.230.0030.00316.70
8.0.220.0030.00316.83
8.0.210.0000.00816.80
8.0.200.0020.00516.88
8.0.190.0030.00616.78
8.0.180.0040.00416.88
8.0.170.0040.00416.84
8.0.160.0000.00716.77
8.0.150.0000.00716.68
8.0.140.0040.00416.73
8.0.130.0000.00513.24
8.0.120.0000.00816.70
8.0.110.0000.00816.81
8.0.100.0050.00316.66
8.0.90.0040.00416.77
8.0.80.0030.01216.78
8.0.70.0000.00816.59
8.0.60.0040.00416.71
8.0.50.0080.00016.68
8.0.30.0150.00816.94
8.0.20.0090.00917.40
8.0.10.0000.00716.89
8.0.00.0150.00316.80
7.4.330.0060.00015.00
7.4.320.0060.00016.58
7.4.300.0000.00716.48
7.4.290.0030.00316.59
7.4.280.0040.00416.45
7.4.270.0080.00016.34
7.4.260.0030.00316.56
7.4.250.0040.00416.54
7.4.240.0050.00216.44
7.4.230.0000.00716.34
7.4.220.0120.00616.35
7.4.210.0070.00816.50
7.4.200.0000.00816.59
7.4.190.0040.00416.63
7.4.160.0080.00816.48
7.4.150.0070.01017.40
7.4.140.0130.00817.86
7.4.130.0050.01216.40
7.4.120.0050.01216.39
7.4.110.0110.00716.69
7.4.100.0180.00016.39
7.4.90.0130.01016.61
7.4.80.0070.01619.39
7.4.70.0100.00716.53
7.4.60.0100.00716.34
7.4.50.0030.00616.06
7.4.40.0130.00616.23
7.4.30.0170.00316.24
7.4.00.0100.00314.93
7.3.330.0000.00513.07
7.3.320.0000.00612.98
7.3.310.0070.00016.13
7.3.300.0040.00416.09
7.3.290.0100.01016.16
7.3.280.0070.01116.15
7.3.270.0080.00817.40
7.3.260.0190.01616.20
7.3.250.0120.00916.20
7.3.240.0060.01516.38
7.3.230.0120.00616.45
7.3.210.0090.00916.46
7.3.200.0120.00919.39
7.3.190.0120.00816.55
7.3.180.0070.01416.43
7.3.170.0130.00816.30
7.3.160.0060.01016.31
7.3.120.0030.01014.94
7.3.110.0040.01114.60
7.3.100.0070.00714.82
7.3.90.0030.01315.04
7.3.80.0000.01214.75
7.3.70.0070.01014.80
7.3.60.0030.01014.86
7.3.50.0030.01314.52
7.3.40.0060.00914.90
7.3.30.0120.00314.46
7.3.20.0040.00816.73
7.3.10.0000.01516.82
7.3.00.0000.01816.58
7.2.330.0070.01016.36
7.2.320.0200.00316.45
7.2.310.0120.01216.49
7.2.300.0070.01416.44
7.2.290.0040.01316.44
7.2.240.0000.01814.75
7.2.230.0040.01415.02
7.2.220.0100.00315.02
7.2.210.0140.00314.99
7.2.200.0070.01015.11
7.2.190.0060.00314.70
7.2.180.0000.01414.50
7.2.170.0000.01114.74
7.2.160.0090.00314.87
7.2.150.0030.01316.62
7.2.140.0000.01416.94
7.2.130.0090.00916.91
7.2.120.0100.00616.95
7.2.110.0000.01316.72
7.2.100.0030.01216.92
7.2.90.0120.00416.78
7.2.80.0040.00816.91
7.2.70.0070.01116.45
7.2.60.0060.00916.90
7.2.50.0060.00516.58
7.2.40.0100.00716.91
7.2.30.0070.01016.77
7.2.20.0090.00317.01
7.2.10.0100.00716.93
7.2.00.0090.01017.93
7.1.330.0070.01015.54
7.1.320.0110.00415.75
7.1.310.0120.00315.88
7.1.300.0040.01115.72
7.1.290.0090.00915.71
7.1.280.0030.01015.70
7.1.270.0140.00015.48
7.1.260.0030.01015.67
7.1.250.0060.00615.71
7.1.100.0000.01218.23
7.1.70.0000.00717.07
7.1.60.0090.01519.46
7.1.50.0220.01334.73
7.1.00.0030.07722.43
7.0.200.0040.00416.77
7.0.140.0070.07022.18
7.0.100.0130.08319.99
7.0.90.0030.06719.89
7.0.80.0030.09019.81
7.0.70.0230.08719.92
7.0.60.0170.04320.06
7.0.50.0070.04020.33
7.0.40.0030.04320.18
7.0.30.0030.04320.08
7.0.20.0070.04020.11
7.0.10.0030.04320.16
7.0.00.0170.03320.14
5.6.280.0000.07721.11
5.6.250.0000.08720.61
5.6.240.0100.04320.70
5.6.230.0070.07720.55
5.6.220.0100.06320.65
5.6.210.0070.07320.73
5.6.200.0000.04721.13
5.6.190.0030.04320.95
5.6.180.0100.03721.02
5.6.170.0030.04721.09
5.6.160.0000.04721.16
5.6.150.0100.03721.04
5.6.140.0000.04021.02
5.6.130.0030.04321.07
5.6.120.0030.04321.02
5.6.110.0170.03721.06
5.6.100.0030.04321.06
5.6.90.0030.04321.09
5.6.80.0030.04020.49
5.6.70.0000.04320.47
5.6.60.0100.03320.46
5.6.50.0070.03720.33
5.6.40.0130.03020.39
5.6.30.0070.04020.41
5.6.20.0070.04020.42
5.6.10.0030.04320.46
5.6.00.0100.03320.50
5.5.380.0030.04320.35
5.5.370.0070.06720.34
5.5.360.0070.08020.35
5.5.350.0000.05320.37
5.5.340.0070.04020.72
5.5.330.0000.05020.83
5.5.320.0030.04320.79
5.5.310.0100.03720.76
5.5.300.0000.04020.91
5.5.290.0030.04020.82
5.5.280.0100.03720.75
5.5.270.0070.03720.61
5.5.260.0070.04020.84
5.5.250.0170.03720.53
5.5.240.0070.03720.11
5.5.230.0070.03720.29
5.5.220.0070.03720.27
5.5.210.0070.03720.19
5.5.200.0030.04020.20
5.5.190.0070.04020.23
5.5.180.0070.03720.23
5.5.160.0070.03720.26
5.5.150.0000.04320.20
5.5.140.0070.04020.24
5.5.130.0030.04020.21
5.5.120.0100.03320.21
5.5.110.0130.06320.25
5.5.100.0000.04320.09
5.5.90.0070.05020.11
5.5.80.0070.05719.96
5.5.70.0100.07320.11
5.5.60.0130.06720.05
5.5.50.0070.04719.95
5.5.40.0100.07320.04
5.5.30.0070.08019.98
5.5.20.0170.07320.05
5.5.10.0100.07319.96
5.5.00.0100.07020.00
5.4.450.0100.03719.27
5.4.440.0100.04319.27
5.4.430.0030.05019.39
5.4.420.0130.04319.39
5.4.410.0130.02719.16
5.4.400.0000.04019.06
5.4.390.0030.05019.00
5.4.380.0070.04018.90
5.4.370.0230.01718.76
5.4.360.0070.03718.98
5.4.350.0000.04319.14
5.4.340.0000.04019.05
5.4.320.0070.03319.02
5.4.310.0100.03019.12
5.4.300.0030.03718.99
5.4.290.0070.03319.09
5.4.280.0070.03718.89
5.4.270.0000.04019.14
5.4.260.0130.02018.96
5.4.250.0070.03019.09
5.4.240.0030.05019.09
5.4.230.0070.03319.05
5.4.220.0100.07718.99
5.4.210.0170.07019.02
5.4.200.0100.07318.94
5.4.190.0130.06718.95
5.4.180.0030.08018.93
5.4.170.0130.06719.09
5.4.160.0100.07019.20
5.4.150.0000.07719.07
5.4.140.0030.07316.22
5.4.130.0070.07016.33
5.4.120.0170.07016.31
5.4.110.0070.06016.26
5.4.100.0070.05316.30
5.4.90.0100.07016.43
5.4.80.0030.08016.34
5.4.70.0030.06716.21
5.4.60.0100.06316.28
5.4.50.0070.07016.31
5.4.40.0100.05316.26
5.4.30.0130.07016.33
5.4.20.0130.05016.41
5.4.10.0070.05016.27
5.4.00.0170.05715.72
5.3.290.0070.03714.62
5.3.280.0100.06014.45
5.3.270.0100.08014.57
5.3.260.0030.07014.56
5.3.250.0100.04014.46
5.3.240.0000.08314.59
5.3.230.0070.07014.53
5.3.220.0170.06714.55
5.3.210.0130.07014.52
5.3.200.0130.06714.50
5.3.190.0070.06014.53
5.3.180.0100.07314.55
5.3.170.0130.07314.42
5.3.160.0030.08014.39
5.3.150.0100.07014.51
5.3.140.0070.07314.41
5.3.130.0100.07014.50
5.3.120.0070.07714.54
5.3.110.0170.03714.53
5.3.100.0100.08014.02
5.3.90.0100.07014.01
5.3.80.0130.07014.00
5.3.70.0070.06013.77
5.3.60.0100.07013.95
5.3.50.0070.07013.90
5.3.40.0000.08013.88
5.3.30.0100.08313.89
5.3.20.0070.07013.63
5.3.10.0130.06013.61
5.3.00.0030.06713.57
5.2.170.0030.05311.79
5.2.160.0030.06011.79
5.2.150.0030.06011.79
5.2.140.0130.05311.79
5.2.130.0070.04311.79
5.2.120.0030.04011.79
5.2.110.0000.05011.79
5.2.100.0070.04311.79
5.2.90.0070.05711.79
5.2.80.0070.06011.79
5.2.70.0030.06311.79
5.2.60.0070.03711.79
5.2.50.0030.06311.79
5.2.40.0170.04011.79
5.2.30.0170.04011.79
5.2.20.0030.06311.79
5.2.10.0030.05711.79
5.2.00.0030.06011.79
5.1.60.0070.05011.79
5.1.50.0030.03311.79
5.1.40.0070.05311.79
5.1.30.0030.05711.79
5.1.20.0030.06011.79
5.1.10.0030.05311.79
5.1.00.0070.04711.79
5.0.50.0070.03711.79
5.0.40.0070.04011.79
5.0.30.0030.06311.79
5.0.20.0030.03011.79
5.0.10.0030.02311.79
5.0.00.0000.07011.79
4.4.90.0030.02311.79
4.4.80.0030.03311.79
4.4.70.0030.02011.79
4.4.60.0030.03711.79
4.4.50.0070.03011.79
4.4.40.0100.04311.79
4.4.30.0030.03011.79
4.4.20.0070.03311.79
4.4.10.0100.03011.79
4.4.00.0000.05711.79
4.3.110.0030.03311.79
4.3.100.0030.03311.79
4.3.90.0030.02011.79
4.3.80.0000.05311.79
4.3.70.0000.03311.79
4.3.60.0030.03311.79
4.3.50.0030.03011.79
4.3.40.0000.05311.79
4.3.30.0000.03711.79
4.3.20.0030.03711.79
4.3.10.0130.02011.79
4.3.00.0000.02011.79

preferences:
47.53 ms | 400 KiB | 5 Q