3v4l.org

run code in 300+ PHP versions simultaneously
<?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] rhe $color[1] lawn the $color[0] house the leaden sky. The new president and his first lady. - Richard M. Nixon";

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.0120.00318.43
8.3.50.0120.01222.76
8.3.40.0110.00318.70
8.3.30.0080.00518.96
8.3.20.0050.00220.07
8.3.10.0050.00323.28
8.3.00.0080.00019.38
8.2.180.0140.00416.50
8.2.170.0120.00318.88
8.2.160.0100.00722.96
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0120.00326.16
8.2.120.0040.00420.91
8.2.110.0070.00419.66
8.2.100.0070.00317.78
8.2.90.0070.00017.75
8.2.80.0050.00318.64
8.2.70.0000.00917.63
8.2.60.0000.00917.75
8.2.50.0000.00917.63
8.2.40.0060.00317.63
8.2.30.0040.00417.62
8.2.20.0040.00417.64
8.2.10.0030.00518.09
8.2.00.0040.00417.67
8.1.280.0140.00325.92
8.1.270.0040.00423.71
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0060.00324.00
8.1.230.0120.00020.89
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0070.00317.22
8.1.190.0050.00517.22
8.1.180.0030.00518.10
8.1.170.0000.00717.62
8.1.160.0000.00818.73
8.1.150.0040.00418.74
8.1.140.0040.00417.42
8.1.130.0000.00717.77
8.1.120.0030.00417.38
8.1.110.0080.00017.27
8.1.100.0000.00717.40
8.1.90.0030.00517.34
8.1.80.0040.00417.36
8.1.70.0000.00717.31
8.1.60.0030.00617.51
8.1.50.0030.00517.30
8.1.40.0060.00317.42
8.1.30.0080.00017.58
8.1.20.0050.00317.56
8.1.10.0040.00417.57
8.1.00.0050.00517.48
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0030.00318.00
8.0.270.0000.00717.91
8.0.260.0070.00017.16
8.0.250.0070.00016.84
8.0.240.0030.00316.97
8.0.230.0030.00316.92
8.0.220.0030.00316.83
8.0.210.0030.00316.88
8.0.200.0000.00716.96
8.0.190.0050.00316.93
8.0.180.0000.00816.80
8.0.170.0070.00016.91
8.0.160.0030.00316.88
8.0.150.0030.00616.87
8.0.140.0000.00716.83
8.0.130.0040.00413.27
8.0.120.0000.00816.74
8.0.110.0040.00416.89
8.0.100.0000.00716.91
8.0.90.0050.00316.83
8.0.80.0000.01416.88
8.0.70.0000.00816.84
8.0.60.0040.00416.82
8.0.50.0040.00416.76
8.0.30.0130.01017.24
8.0.20.0110.00817.40
8.0.10.0000.00717.05
8.0.00.0120.00816.56
7.4.330.0030.00215.04
7.4.320.0000.00616.57
7.4.300.0000.00716.32
7.4.290.0070.00016.57
7.4.280.0070.00016.55
7.4.270.0030.00316.58
7.4.260.0000.00716.41
7.4.250.0050.00316.34
7.4.240.0020.00516.42
7.4.230.0000.00716.27
7.4.220.0100.00716.56
7.4.210.0100.01016.46
7.4.200.0030.00316.57
7.4.160.0080.00816.72
7.4.150.0070.01117.40
7.4.140.0090.00817.86
7.4.130.0040.01416.47
7.4.120.0080.00816.47
7.4.110.0130.00316.47
7.4.100.0110.00716.66
7.4.90.0060.01016.50
7.4.80.0100.01319.39
7.4.70.0080.00816.34
7.4.60.0030.01316.34
7.4.50.0040.00416.68
7.4.40.0080.00816.61
7.4.30.0070.00716.54
7.4.00.0070.00715.03
7.3.330.0000.00613.18
7.3.320.0030.00313.14
7.3.310.0030.00316.34
7.3.300.0000.00716.19
7.3.290.0110.00316.23
7.3.280.0040.01116.18
7.3.270.0150.00417.40
7.3.260.0070.01316.31
7.3.250.0080.00716.29
7.3.240.0100.01016.32
7.3.230.0120.00616.39
7.3.210.0100.00616.41
7.3.200.0100.01019.39
7.3.190.0120.00416.26
7.3.180.0070.01016.22
7.3.170.0090.01216.27
7.3.160.0060.00916.52
7.3.10.0100.00316.56
7.3.00.0080.00016.77
7.2.330.0030.01916.64
7.2.320.0030.01316.55
7.2.310.0060.01216.44
7.2.300.0070.01016.66
7.2.290.0090.00616.42
7.2.130.0070.00316.38
7.2.120.0040.01616.69
7.2.110.0030.01316.54
7.2.100.0160.00316.52
7.2.90.0100.00716.59
7.2.80.0030.01216.87
7.2.70.0140.00716.79
7.2.60.0100.00616.53
7.2.50.0040.01216.59
7.2.40.0130.00616.67
7.2.30.0110.01116.69
7.2.20.0080.01216.37
7.2.10.0110.00716.84
7.2.00.0020.01018.08
7.1.250.0060.00615.52
7.1.100.0030.00718.24
7.1.70.0030.00617.11
7.1.60.0040.00817.20
7.1.50.0140.00016.52
7.1.00.0000.08022.51
7.0.200.0000.00816.83
7.0.140.0000.08022.23
7.0.60.0130.08019.92
7.0.50.0030.05317.91
7.0.40.0030.04719.91
7.0.30.0300.08020.34
7.0.20.0270.05020.16
7.0.10.0130.06320.33
7.0.00.0030.07020.32
5.6.210.0100.08320.70
5.6.200.0030.04018.21
5.6.190.0100.06320.41
5.6.180.0270.07020.56
5.6.170.0270.07320.51
5.6.160.0000.04320.49
5.6.150.0070.05018.21
5.6.140.0000.04718.07
5.6.130.0170.07018.08
5.6.120.0030.04321.11
5.6.110.0030.05721.13
5.6.100.0070.07721.13
5.6.90.0030.07720.96
5.6.80.0070.05320.38
5.5.350.0000.08320.44
5.5.340.0070.08318.01
5.5.330.0100.04320.23
5.5.320.0270.04720.31
5.5.310.0230.07720.28
5.5.300.0100.06017.97
5.5.290.0070.08018.02
5.5.280.0170.05020.86
5.5.270.0100.08020.75
5.5.260.0100.07320.72
5.5.250.0070.04720.48
5.5.240.0230.04020.15
5.4.450.0970.04019.37
5.4.440.1030.03719.46
5.4.430.0530.04019.56
5.4.420.0270.02719.41
5.4.410.0200.03719.28
5.4.400.0270.04719.09
5.4.390.0330.03718.89
5.4.380.0330.06718.57
5.4.370.0370.06718.56
5.4.360.0330.06318.46
5.4.350.0300.06018.74
5.4.340.0300.06318.68
5.4.320.0050.03712.45
5.4.310.0040.04112.45
5.4.300.0080.03312.45
5.4.290.0080.04012.45
5.4.280.0060.03512.35
5.4.270.0080.03812.35
5.4.260.0070.03612.35
5.4.250.0070.04312.34
5.4.240.0060.03612.34
5.4.230.0060.03612.34
5.4.220.0050.03612.34
5.4.210.0050.03512.34
5.4.200.0080.03412.34
5.4.190.0070.04012.34
5.4.180.0060.03912.33
5.4.170.0080.03312.35
5.4.160.0080.03912.34
5.4.150.0030.03712.34
5.4.140.0080.04012.02
5.4.130.0050.03712.01
5.4.120.0050.03611.97
5.4.110.0080.03311.96
5.4.100.0090.03211.96
5.4.90.0040.03811.97
5.4.80.0060.03611.96
5.4.70.0040.03611.96
5.4.60.0030.03611.96
5.4.50.0070.03311.96
5.4.40.0050.03411.95
5.4.30.0050.04011.94
5.4.20.0050.03611.95
5.4.10.0050.03411.95
5.4.00.0050.04611.43
5.3.290.0090.04512.80
5.3.280.0080.03612.71
5.3.270.0040.04112.73
5.3.260.0100.03612.72
5.3.250.0090.03412.72
5.3.240.0050.03712.72
5.3.230.0070.03512.70
5.3.220.0070.03712.68
5.3.210.0070.03812.68
5.3.200.0120.03112.68
5.3.190.0050.03812.68
5.3.180.0080.03412.68
5.3.170.0070.03612.67
5.3.160.0070.03512.68
5.3.150.0040.04212.67
5.3.140.0020.04112.66
5.3.130.0060.04012.66
5.3.120.0110.03312.66
5.3.110.0070.04412.66
5.3.100.0050.03912.12
5.3.90.0060.03712.08
5.3.80.0060.03712.07
5.3.70.0030.03912.08
5.3.60.0070.03512.06
5.3.50.0040.04012.00
5.3.40.0050.03712.00
5.3.30.0070.03411.95
5.3.20.0080.03511.72
5.3.10.0050.03711.69
5.3.00.0050.03811.68
5.2.170.0070.0319.17
5.2.160.0090.0259.18
5.2.150.0060.0309.18
5.2.140.0050.0329.17
5.2.130.0060.0329.14
5.2.120.0070.0319.14
5.2.110.0090.0339.14
5.2.100.0080.0359.14
5.2.90.0110.0349.14
5.2.80.0040.0329.14
5.2.70.0060.0299.14
5.2.60.0030.0339.09
5.2.50.0030.0359.06
5.2.40.0030.0319.03
5.2.30.0040.0329.01
5.2.20.0060.0309.01
5.2.10.0050.0278.94
5.2.00.0050.0288.79
5.1.60.0030.0248.08
5.1.50.0040.0248.07
5.1.40.0060.0218.06
5.1.30.0010.0288.41
5.1.20.0060.0288.43
5.1.10.0070.0258.16
5.1.00.0030.0268.15
5.0.50.0030.0236.63
5.0.40.0020.0226.49
5.0.30.0060.0316.30
5.0.20.0050.0216.28
5.0.10.0020.0236.25
5.0.00.0050.0296.24
4.4.90.0030.0174.78
4.4.80.0050.0124.75
4.4.70.0020.0164.76
4.4.60.0030.0184.76
4.4.50.0030.0144.77
4.4.40.0020.0254.71
4.4.30.0040.0144.76
4.4.20.0050.0184.85
4.4.10.0020.0204.85
4.4.00.0020.0284.76
4.3.110.0020.0164.67
4.3.100.0040.0214.66
4.3.90.0020.0154.64
4.3.80.0020.0244.58
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0010.0174.63
4.3.40.0040.0224.54
4.3.30.0020.0153.30
4.3.20.0030.0203.28
4.3.10.0010.0203.22
4.3.00.0000.01716.02

preferences:
40.01 ms | 401 KiB | 5 Q