3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE> <html> <body> <?php $color = array('white', 'green', 'red', 'blue', 'black'); echo "The memory of that scene for me is like a frame of film forever frozen at that moment :the $color[2] carpet,the $color[1] lawn,the $color[0] the leaden sky! The new president and his first lady. - Richard M. Nixon"; ?> </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.70.0160.00616.58
8.3.60.0060.01516.63
8.3.50.0150.00721.99
8.3.40.0150.00618.80
8.3.30.0100.01019.27
8.3.20.0040.00420.34
8.3.10.0000.00923.52
8.3.00.0000.00820.87
8.2.180.0140.00416.88
8.2.170.0140.00722.96
8.2.160.0110.00320.39
8.2.150.0070.01124.18
8.2.140.0040.01124.66
8.2.130.0040.00426.16
8.2.120.0150.00020.74
8.2.110.0180.00322.14
8.2.100.0070.00419.45
8.2.90.0060.00319.31
8.2.80.0040.00417.97
8.2.70.0000.01017.50
8.2.60.0030.00717.93
8.2.50.0000.00818.07
8.2.40.0040.00421.11
8.2.30.0050.00318.23
8.2.20.0090.00217.68
8.2.10.0000.00718.07
8.2.00.0070.00317.57
8.1.280.0140.00725.92
8.1.270.0000.00923.91
8.1.260.0110.00426.35
8.1.250.0070.00028.09
8.1.240.0120.00922.23
8.1.230.0030.00719.00
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0060.00617.00
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0030.00518.50
8.1.160.0000.00822.03
8.1.150.0000.00718.55
8.1.140.0050.00317.41
8.1.130.0070.00017.88
8.1.120.0030.00317.41
8.1.110.0040.00417.30
8.1.100.0060.00317.41
8.1.90.0070.00017.43
8.1.80.0040.00417.43
8.1.70.0000.00717.36
8.1.60.0030.00617.45
8.1.50.0030.00617.55
8.1.40.0040.00417.42
8.1.30.0040.00417.59
8.1.20.0030.00517.57
8.1.10.0000.00717.48
8.1.00.0030.00517.48
8.0.300.0040.00418.77
8.0.290.0070.00017.15
8.0.280.0000.00818.34
8.0.270.0070.00017.14
8.0.260.0030.00317.21
8.0.250.0000.00716.86
8.0.240.0050.00316.83
8.0.230.0070.00016.97
8.0.220.0080.00016.84
8.0.210.0050.00316.89
8.0.200.0040.00416.98
8.0.190.0050.00216.86
8.0.180.0000.00816.95
8.0.170.0070.00016.97
8.0.160.0030.00316.84
8.0.150.0030.00616.82
8.0.140.0040.00416.77
8.0.130.0030.00313.36
8.0.120.0040.00416.79
8.0.110.0080.00016.81
8.0.100.0040.00416.93
8.0.90.0030.00516.70
8.0.80.0000.01516.94
8.0.70.0040.00416.80
8.0.60.0080.00016.78
8.0.50.0070.00016.89
8.0.30.0130.00616.88
8.0.20.0090.01017.40
8.0.10.0040.00416.88
8.0.00.0140.00516.79
7.4.330.0030.00315.01
7.4.320.0030.00316.31
7.4.300.0050.00216.44
7.4.290.0000.00716.45
7.4.280.0000.00716.41
7.4.270.0000.00716.64
7.4.260.0000.00716.54
7.4.250.0040.00416.56
7.4.240.0020.00516.45
7.4.230.0000.00816.53
7.4.220.0030.01416.51
7.4.210.0090.00616.59
7.4.200.0040.00416.30
7.4.190.0070.00016.49
7.4.160.0000.01516.48
7.4.150.0130.00317.40
7.4.140.0110.00917.86
7.4.130.0130.00316.55
7.4.120.0050.01216.64
7.4.110.0130.00316.40
7.4.100.0110.00616.52
7.4.90.0060.01016.43
7.4.80.0130.00619.39
7.4.70.0090.00916.50
7.4.60.0160.00616.40
7.4.50.0000.00916.55
7.4.40.0060.00916.50
7.4.30.0100.00716.63
7.4.00.0090.00814.79
7.3.330.0020.00213.12
7.3.320.0000.00613.11
7.3.310.0050.00316.14
7.3.300.0070.00016.23
7.3.290.0030.01116.21
7.3.280.0070.01216.20
7.3.270.0070.01117.40
7.3.260.0170.00016.31
7.3.250.0100.00716.50
7.3.240.0070.01316.32
7.3.230.0100.00616.63
7.3.210.0060.01016.14
7.3.200.0080.00819.39
7.3.190.0100.00616.58
7.3.180.0060.00916.23
7.3.170.0090.00616.30
7.3.160.0070.00716.61
7.3.120.0030.01014.76
7.3.110.0090.00914.73
7.3.100.0130.00315.06
7.3.90.0040.00714.75
7.3.80.0060.00314.90
7.3.70.0030.01014.68
7.3.60.0070.00714.64
7.3.50.0090.00614.74
7.3.40.0030.01014.85
7.3.30.0030.00814.56
7.3.20.0060.00316.68
7.3.10.0020.01216.45
7.3.00.0070.00916.60
7.2.330.0100.01316.54
7.2.320.0090.00916.33
7.2.310.0130.00416.33
7.2.300.0080.00816.24
7.2.290.0070.01016.54
7.2.250.0040.01115.09
7.2.240.0070.01114.95
7.2.230.0060.01014.73
7.2.220.0070.00315.09
7.2.210.0070.00715.09
7.2.200.0070.01015.00
7.2.190.0100.00314.90
7.2.180.0070.01015.05
7.2.170.0050.00514.76
7.2.130.0030.01016.95
7.2.120.0090.00616.71
7.2.110.0080.00816.84
7.2.100.0110.00016.98
7.2.90.0030.01217.04
7.2.80.0070.00716.88
7.2.70.0040.00716.80
7.2.60.0040.01116.90
7.2.50.0000.01017.01
7.2.40.0070.00716.79
7.2.30.0070.01016.59
7.2.20.0100.00616.91
7.2.10.0060.00916.86
7.2.00.0040.00917.97
7.1.330.0040.00815.81
7.1.320.0070.00315.69
7.1.310.0110.00315.73
7.1.300.0000.01415.74
7.1.290.0000.01315.67
7.1.280.0070.00715.93
7.1.270.0000.00915.57
7.1.260.0080.00015.56
7.1.250.0070.01015.71
7.1.100.0080.01218.15
7.1.70.0000.00716.75
7.1.60.0140.01019.46
7.1.50.0090.00616.84
7.1.00.0000.08022.40
7.0.200.0020.00516.68
7.0.140.0100.06722.15
7.0.60.0030.04319.86
7.0.50.0070.08017.81
7.0.40.0070.08320.35
7.0.30.0130.04720.09
7.0.20.0170.04720.17
7.0.10.0170.06020.21
7.0.00.0130.04719.99
5.6.280.0030.07320.84
5.6.210.0030.07720.52
5.6.200.0100.07718.12
5.6.190.0130.08020.61
5.6.180.0400.06320.63
5.6.170.0200.04720.49
5.6.160.0030.07320.48
5.6.150.0000.08018.21
5.6.140.0030.06018.16
5.6.130.0100.03718.07
5.6.120.0070.08320.93
5.6.110.0170.07721.11
5.6.100.0170.07320.97
5.6.90.0030.09021.12
5.6.80.0000.04020.36
5.5.350.0270.07320.30
5.5.340.0100.05717.91
5.5.330.0070.04720.25
5.5.320.0230.04320.29
5.5.310.0170.07020.31
5.5.300.0070.04017.98
5.5.290.0130.07017.87
5.5.280.0030.08320.96
5.5.270.0100.06020.78
5.5.260.0030.04320.87
5.5.250.0130.03020.54
5.5.240.0170.07320.26
5.4.450.0430.04019.41
5.4.440.0470.04319.46
5.4.430.0470.03719.56
5.4.420.0330.06019.50
5.4.410.0000.03319.26
5.4.400.0330.03319.06
5.4.390.0430.04019.08
5.4.380.0400.05318.72
5.4.370.0330.05318.50
5.4.360.0230.06018.57
5.4.350.0400.05718.49
5.4.340.0470.06018.70
5.4.320.0060.04112.45
5.4.310.0070.04112.45
5.4.300.0080.04712.45
5.4.290.0050.04412.45
5.4.280.0030.03912.34
5.4.270.0060.03912.34
5.4.260.0040.04112.35
5.4.250.0060.03912.35
5.4.240.0040.04212.35
5.4.230.0090.04012.34
5.4.220.0090.03712.34
5.4.210.0090.03412.34
5.4.200.0060.03912.34
5.4.190.0110.03412.33
5.4.180.0140.03112.34
5.4.170.0050.04612.35
5.4.160.0090.04512.34
5.4.150.0070.04012.34
5.4.140.0090.03712.02
5.4.130.0090.03712.01
5.4.120.0070.03811.97
5.4.110.0070.04011.96
5.4.100.0050.03811.97
5.4.90.0070.03711.96
5.4.80.0060.03811.96
5.4.70.0060.03811.96
5.4.60.0070.03611.96
5.4.50.0090.04511.96
5.4.40.0030.04511.95
5.4.30.0110.03311.94
5.4.20.0040.03811.95
5.4.10.0080.03311.95
5.4.00.0030.04111.43
5.3.290.0060.04412.80
5.3.280.0070.03812.71
5.3.270.0060.04112.72
5.3.260.0020.04312.72
5.3.250.0090.04512.72
5.3.240.0060.04912.72
5.3.230.0100.04212.71
5.3.220.0100.04312.68
5.3.210.0070.05312.68
5.3.200.0070.03712.68
5.3.190.0050.04112.67
5.3.180.0080.03812.68
5.3.170.0070.04012.67
5.3.160.0090.05012.67
5.3.150.0160.04412.67
5.3.140.0120.04812.66
5.3.130.0100.04612.66
5.3.120.0050.04412.66
5.3.110.0060.04112.66
5.3.100.0080.03512.12
5.3.90.0070.06712.08
5.3.80.0080.04912.08
5.3.70.0030.04812.07
5.3.60.0130.04512.06
5.3.50.0140.03612.00
5.3.40.0080.03812.00
5.3.30.0110.03811.95
5.3.20.0070.03711.72
5.3.10.0080.03611.69
5.3.00.0040.05211.68
5.2.170.0050.0429.18
5.2.160.0100.0479.18
5.2.150.0050.0329.18
5.2.140.0060.0319.18
5.2.130.0030.0319.13
5.2.120.0060.0319.14
5.2.110.0050.0309.14
5.2.100.0060.0279.14
5.2.90.0030.0309.14
5.2.80.0030.0329.13
5.2.70.0050.0299.13
5.2.60.0060.0329.09
5.2.50.0070.0399.05
5.2.40.0080.0359.03
5.2.30.0060.0439.01
5.2.20.0040.0369.01
5.2.10.0060.0338.94
5.2.00.0030.0328.79
5.1.60.0060.0278.08
5.1.50.0060.0268.08
5.1.40.0050.0238.05
5.1.30.0030.0288.41
5.1.20.0040.0278.43
5.1.10.0030.0288.16
5.1.00.0090.0278.15
5.0.50.0070.0256.63
5.0.40.0030.0236.49
5.0.30.0060.0326.30
5.0.20.0030.0296.28
5.0.10.0020.0276.25
5.0.00.0040.0376.24
4.4.90.0030.0224.78
4.4.80.0020.0264.76
4.4.70.0040.0164.75
4.4.60.0050.0154.75
4.4.50.0060.0174.77
4.4.40.0040.0264.71
4.4.30.0050.0154.76
4.4.20.0040.0174.84
4.4.10.0020.0194.85
4.4.00.0040.0244.76
4.3.110.0040.0164.67
4.3.100.0040.0174.66
4.3.90.0030.0164.64
4.3.80.0030.0254.59
4.3.70.0030.0164.63
4.3.60.0020.0164.63
4.3.50.0040.0164.63
4.3.40.0020.0254.54
4.3.30.0030.0163.29
4.3.20.0020.0173.28
4.3.10.0000.0183.22
4.3.00.0000.01316.13

preferences:
55.16 ms | 401 KiB | 5 Q