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"); $arr = array_merge($a1,$a2); print_r($arr); ?> </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.0130.00318.59
8.3.30.0000.01418.83
8.3.20.0040.00420.22
8.3.10.0030.00523.53
8.3.00.0000.00719.13
8.2.170.0070.00722.96
8.2.160.0070.00720.44
8.2.150.0000.00724.18
8.2.140.0000.00724.66
8.2.130.0060.00326.16
8.2.120.0070.00018.99
8.2.110.0060.00322.07
8.2.100.0120.00017.78
8.2.90.0080.00419.13
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0040.00419.88
8.2.30.0000.00818.18
8.2.20.0040.00417.67
8.2.10.0000.00718.15
8.2.00.0050.00317.54
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00623.69
8.1.230.0030.00719.16
8.1.220.0030.00517.78
8.1.210.0080.00018.77
8.1.200.0030.00617.13
8.1.190.0060.00317.23
8.1.180.0040.00418.88
8.1.170.0000.00918.54
8.1.160.0070.00021.94
8.1.150.0030.00518.57
8.1.140.0040.00417.42
8.1.130.0070.00017.84
8.1.120.0070.00017.29
8.1.110.0040.00417.41
8.1.100.0070.00017.27
8.1.90.0040.00417.36
8.1.80.0000.00717.28
8.1.70.0000.00717.30
8.1.60.0000.00817.55
8.1.50.0080.00017.43
8.1.40.0000.00717.34
8.1.30.0040.00417.46
8.1.20.0030.00517.60
8.1.10.0050.00217.36
8.1.00.0000.00817.32
8.0.300.0070.00018.77
8.0.290.0030.00317.05
8.0.280.0000.00718.34
8.0.270.0000.00717.09
8.0.260.0000.00617.24
8.0.250.0000.00716.86
8.0.240.0080.00016.79
8.0.230.0030.00316.77
8.0.220.0070.00016.84
8.0.210.0030.00316.81
8.0.200.0040.00416.77
8.0.190.0030.00616.74
8.0.180.0040.00416.89
8.0.170.0070.00016.83
8.0.160.0030.00316.81
8.0.150.0080.00016.77
8.0.140.0040.00416.66
8.0.130.0000.00513.27
8.0.120.0050.00316.81
8.0.110.0000.00716.70
8.0.100.0000.00716.85
8.0.90.0000.00816.85
8.0.80.0110.00416.80
8.0.70.0000.00716.63
8.0.60.0000.00716.83
8.0.50.0040.00416.78
8.0.30.0110.01116.97
8.0.20.0100.01017.40
8.0.10.0040.00416.77
8.0.00.0070.01016.76
7.4.330.0030.00315.02
7.4.320.0000.00616.51
7.4.300.0070.00016.37
7.4.290.0000.00816.49
7.4.280.0000.00816.53
7.4.270.0000.00716.48
7.4.260.0030.00316.50
7.4.250.0000.00916.53
7.4.240.0010.00616.45
7.4.230.0070.00016.62
7.4.220.0060.01216.63
7.4.210.0050.01116.56
7.4.200.0070.00016.59
7.4.190.0000.00916.30
7.4.160.0000.01516.27
7.4.150.0210.00317.40
7.4.140.0120.00817.86
7.4.130.0090.00916.49
7.4.120.0090.00916.44
7.4.110.0100.01416.46
7.4.100.0160.00316.35
7.4.90.0030.01416.51
7.4.80.0110.00919.39
7.4.70.0150.00016.28
7.4.60.0090.01316.34
7.4.50.0040.00416.45
7.4.40.0030.01316.28
7.4.30.0070.01316.52
7.4.00.0030.01315.08
7.3.330.0000.00713.11
7.3.320.0050.00013.11
7.3.310.0080.00016.11
7.3.300.0030.00316.02
7.3.290.0060.00916.16
7.3.280.0080.00816.10
7.3.270.0160.00017.40
7.3.260.0140.00716.51
7.3.250.0080.00916.29
7.3.240.0140.01316.39
7.3.230.0100.00916.39
7.3.210.0060.01116.13
7.3.200.0070.01019.39
7.3.190.0110.00716.21
7.3.180.0060.00916.26
7.3.170.0090.01016.41
7.3.160.0130.00316.36
7.3.120.0030.01414.76
7.3.10.0140.00716.31
7.3.00.0100.00715.82
7.2.330.0080.00916.49
7.2.320.0090.01216.63
7.2.310.0120.01216.39
7.2.300.0030.01716.41
7.2.290.0100.01016.31
7.2.130.0170.00316.29
7.2.120.0170.00316.34
7.2.110.0100.00716.31
7.2.100.0170.00716.59
7.2.90.0100.01016.01
7.2.80.0140.00016.37
7.2.70.0130.00916.59
7.2.60.0090.00616.50
7.2.50.0120.00616.81
7.2.40.0090.00916.32
7.2.30.0190.00316.77
7.2.20.0150.00716.46
7.2.10.0090.00616.20
7.2.00.0080.01218.04
7.1.250.0140.00314.96
7.1.100.0030.00917.98
7.1.70.0050.00516.88
7.1.60.0100.01419.46
7.1.50.0130.01734.74
7.1.00.0030.07722.43
7.0.200.0040.00416.88
7.0.140.0030.07022.04
7.0.60.0170.07019.90
7.0.50.0030.07017.91
7.0.40.0000.09320.21
7.0.30.0470.03720.04
7.0.20.0330.06720.17
7.0.10.0100.08320.00
7.0.00.0070.08020.09
5.6.280.0070.07020.90
5.6.210.0130.07320.43
5.6.200.0130.08018.21
5.6.190.0030.05020.59
5.6.180.0130.07020.61
5.6.170.0200.05020.50
5.6.160.0030.04720.54
5.6.150.0100.05018.07
5.6.140.0070.03718.21
5.6.130.0130.07318.21
5.6.120.0100.06720.98
5.6.110.0100.08321.07
5.6.100.0030.06720.97
5.6.90.0100.08020.94
5.6.80.0070.07720.28
5.5.350.0070.06320.47
5.5.340.0030.04017.88
5.5.330.0100.04020.07
5.5.320.0170.04320.20
5.5.310.0330.07720.27
5.5.300.0030.05318.02
5.5.290.0070.06317.88
5.5.280.0200.07720.88
5.5.270.0100.03720.67
5.5.260.0070.05020.80
5.5.250.0130.04720.46
5.5.240.0070.02720.27
5.4.450.0430.04319.21
5.4.440.0070.05019.41
5.4.430.0870.05019.47
5.4.420.0130.07019.49
5.4.410.1400.07019.45
5.4.400.0830.05018.90
5.4.390.0900.08019.08
5.4.380.0070.06018.61
5.4.370.0130.05018.52
5.4.360.0270.03718.50
5.4.350.0130.05318.61
5.4.340.0070.05718.65
5.4.320.0060.03612.45
5.4.310.0060.04412.45
5.4.300.0070.03612.45
5.4.290.0120.05312.45
5.4.280.0130.05512.35
5.4.270.0090.06012.34
5.4.260.0070.05912.35
5.4.250.0080.05812.35
5.4.240.0090.06412.34
5.4.230.0120.04012.34
5.4.220.0110.04112.34
5.4.210.0100.04812.34
5.4.200.0080.05812.33
5.4.190.0090.06412.34
5.4.180.0090.05112.34
5.4.170.0070.06112.35
5.4.160.0050.04012.34
5.4.150.0060.03712.34
5.4.140.0090.03612.02
5.4.130.0060.03712.01
5.4.120.0060.03611.96
5.4.110.0060.03611.96
5.4.100.0070.03611.96
5.4.90.0080.03711.96
5.4.80.0100.04011.96
5.4.70.0050.03611.96
5.4.60.0060.03511.96
5.4.50.0050.03711.96
5.4.40.0070.03411.95
5.4.30.0060.03811.95
5.4.20.0080.03711.95
5.4.10.0080.04911.94
5.4.00.0030.04111.43
5.3.290.0060.03912.80
5.3.280.0090.03712.71
5.3.270.0080.04412.72
5.3.260.0070.04112.72
5.3.250.0060.03912.72
5.3.240.0070.03912.71
5.3.230.0070.03712.71
5.3.220.0090.03512.68
5.3.210.0080.03712.68
5.3.200.0030.04012.68
5.3.190.0110.05912.68
5.3.180.0130.05912.67
5.3.170.0080.04112.67
5.3.160.0050.04412.68
5.3.150.0070.05512.68
5.3.140.0130.08212.66
5.3.130.0200.06212.65
5.3.120.0120.03612.66
5.3.110.0130.03212.65
5.3.100.0060.03712.11
5.3.90.0050.03812.09
5.3.80.0070.04112.07
5.3.70.0080.05112.07
5.3.60.0080.05912.07
5.3.50.0070.05012.00
5.3.40.0090.05512.00
5.3.30.0090.07011.94
5.3.20.0110.05811.73
5.3.10.0100.06011.69
5.3.00.0100.05511.68
5.2.170.0070.0479.18
5.2.160.0080.0499.18
5.2.150.0040.0559.18
5.2.140.0120.0529.17
5.2.130.0070.0419.13
5.2.120.0070.0409.13
5.2.110.0060.0419.14
5.2.100.0080.0409.14
5.2.90.0090.0409.14
5.2.80.0060.0449.13
5.2.70.0080.0579.14
5.2.60.0050.0519.08
5.2.50.0120.0619.05
5.2.40.0090.0489.03
5.2.30.0080.0469.01
5.2.20.0020.0439.00
5.2.10.0030.0458.92
5.2.00.0030.0468.78
5.1.60.0090.0458.06
5.1.50.0050.0448.05
5.1.40.0040.0418.04
5.1.30.0090.0458.39
5.1.20.0060.0378.41
5.1.10.0060.0358.14
5.1.00.0060.0368.13
5.0.50.0040.0286.61
5.0.40.0040.0286.48
5.0.30.0070.0476.29
5.0.20.0040.0326.25
5.0.10.0060.0366.23
5.0.00.0080.0426.23
4.4.90.0020.0244.78
4.4.80.0060.0204.75
4.4.70.0010.0244.75
4.4.60.0060.0194.76
4.4.50.0030.0244.77
4.4.40.0030.0374.71
4.4.30.0040.0224.76
4.4.20.0020.0244.84
4.4.10.0050.0264.85
4.4.00.0030.0394.76
4.3.110.0030.0334.67
4.3.100.0060.0234.66
4.3.90.0030.0264.64
4.3.80.0020.0394.58
4.3.70.0070.0524.63
4.3.60.0060.0224.63
4.3.50.0050.0254.63
4.3.40.0000.0624.54
4.3.30.0000.0493.28
4.3.20.0090.0333.26
4.3.10.0030.0443.22
4.3.00.0030.01712.57

preferences:
41.88 ms | 400 KiB | 5 Q