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] carpet, the lawn, the white 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.0110.00416.38
8.3.50.0130.00322.04
8.3.40.0150.00318.73
8.3.30.0110.00418.92
8.3.20.0080.00020.33
8.3.10.0030.00523.70
8.3.00.0080.00019.07
8.2.180.0070.01018.26
8.2.170.0090.00622.96
8.2.160.0070.01020.21
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0050.00318.93
8.2.110.0060.00322.04
8.2.100.0070.00417.64
8.2.90.0060.00319.30
8.2.80.0000.00917.97
8.2.70.0080.00017.63
8.2.60.0070.00018.00
8.2.50.0000.00818.07
8.2.40.0090.00020.07
8.2.30.0040.00418.29
8.2.20.0040.00417.64
8.2.10.0040.00417.96
8.2.00.0080.00017.59
8.1.280.0080.00525.92
8.1.270.0050.00523.96
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0070.00324.01
8.1.230.0080.00419.07
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0040.00417.23
8.1.180.0030.00619.01
8.1.170.0060.00318.45
8.1.160.0030.00421.85
8.1.150.0070.00018.45
8.1.140.0040.00417.43
8.1.130.0030.00317.86
8.1.120.0080.00017.43
8.1.110.0030.00517.29
8.1.100.0040.00417.41
8.1.90.0050.00217.41
8.1.80.0000.00717.41
8.1.70.0000.00717.34
8.1.60.0050.00217.56
8.1.50.0080.00017.47
8.1.40.0050.00317.37
8.1.30.0040.00417.59
8.1.20.0000.00717.48
8.1.10.0000.00717.64
8.1.00.0040.00417.55
8.0.300.0050.00220.80
8.0.290.0050.00216.80
8.0.280.0030.00318.50
8.0.270.0000.00717.18
8.0.260.0040.00417.17
8.0.250.0050.00216.95
8.0.240.0050.00216.82
8.0.230.0080.00316.93
8.0.220.0000.00716.86
8.0.210.0030.00316.89
8.0.200.0060.00016.93
8.0.190.0040.00416.81
8.0.180.0000.00816.80
8.0.170.0000.00716.91
8.0.160.0030.00316.82
8.0.150.0000.00816.78
8.0.140.0040.00416.86
8.0.130.0040.00413.31
8.0.120.0000.00716.75
8.0.110.0020.00516.72
8.0.100.0040.00416.70
8.0.90.0030.00316.75
8.0.80.0060.00916.88
8.0.70.0050.00316.93
8.0.60.0000.00816.82
8.0.50.0040.00416.93
8.0.30.0130.01016.96
8.0.20.0120.00617.40
8.0.10.0070.00016.71
8.0.00.0110.00716.77
7.4.330.0030.00315.00
7.4.320.0030.00316.48
7.4.300.0030.00316.51
7.4.290.0000.00716.45
7.4.280.0000.00716.48
7.4.270.0030.00316.49
7.4.260.0040.00416.49
7.4.250.0030.00316.25
7.4.240.0030.00316.52
7.4.230.0030.00316.63
7.4.220.0120.01516.49
7.4.210.0070.00816.58
7.4.200.0070.00016.56
7.4.190.0000.00716.39
7.4.160.0130.00316.41
7.4.150.0090.00917.40
7.4.140.0130.00617.86
7.4.130.0120.00916.54
7.4.120.0130.00316.49
7.4.110.0090.00916.62
7.4.100.0120.00916.38
7.4.90.0140.00316.49
7.4.80.0060.01119.39
7.4.70.0120.00616.49
7.4.60.0130.00616.39
7.4.50.0000.00816.30
7.4.40.0090.01216.39
7.4.30.0060.00916.47
7.4.00.0080.00615.17
7.3.330.0030.00313.03
7.3.320.0030.00313.04
7.3.310.0070.00016.07
7.3.300.0030.00316.22
7.3.290.0050.01016.19
7.3.280.0090.01016.15
7.3.270.0000.01617.40
7.3.260.0130.00316.50
7.3.250.0150.00416.32
7.3.240.0000.01616.53
7.3.230.0130.01016.39
7.3.210.0070.01116.49
7.3.200.0100.00619.39
7.3.190.0060.01216.20
7.3.180.0110.00516.51
7.3.170.0130.00316.43
7.3.160.0160.00316.36
7.3.120.0030.01414.64
7.3.10.0030.01016.34
7.3.00.0060.00316.26
7.2.330.0140.00316.24
7.2.320.0090.00916.27
7.2.310.0110.01116.42
7.2.300.0000.01716.36
7.2.290.0060.01416.29
7.2.130.0060.00616.70
7.2.120.0100.00016.44
7.2.110.0140.01116.79
7.2.100.0090.00916.55
7.2.90.0090.00716.55
7.2.80.0120.00616.59
7.2.70.0130.01316.39
7.2.60.0160.00316.40
7.2.50.0030.00616.38
7.2.40.0200.00716.76
7.2.30.0100.00416.74
7.2.20.0100.01016.82
7.2.10.0070.00716.64
7.2.00.0070.00716.79
7.1.250.0030.01015.77
7.1.70.0210.01116.87
7.1.60.0070.01819.46
7.1.50.0100.01316.74
7.1.00.0130.06722.51
7.0.200.0030.00316.77
7.0.140.0100.06322.00
7.0.60.0030.06719.86
7.0.50.0100.07717.88
7.0.40.0100.07720.19
7.0.30.0170.05020.13
7.0.20.0270.07020.09
7.0.10.0070.07720.02
7.0.00.0070.08720.20
5.6.280.0000.07721.11
5.6.210.0100.08320.49
5.6.200.0070.07718.21
5.6.190.0100.04720.42
5.6.180.0070.04320.35
5.6.170.0300.05320.38
5.6.160.0070.08020.41
5.6.150.0000.07318.15
5.6.140.0000.04018.14
5.6.130.0030.08318.16
5.6.120.0030.05720.88
5.6.110.0070.05321.11
5.6.100.0070.03721.00
5.6.90.0030.04321.09
5.6.80.0100.08020.38
5.5.350.0070.03320.44
5.5.340.0000.04017.98
5.5.330.0130.07320.44
5.5.320.0200.04320.49
5.5.310.0300.05020.30
5.5.300.0100.05317.98
5.5.290.0030.04317.97
5.5.280.0030.09020.76
5.5.270.0030.04020.88
5.5.260.0070.06320.86
5.5.250.0230.07020.57
5.5.240.0030.07320.01
5.4.450.0170.05719.63
5.4.440.0570.06719.47
5.4.430.0170.07019.36
5.4.420.0670.06019.36
5.4.410.0970.05719.06
5.4.400.0100.06318.93
5.4.390.0730.06718.90
5.4.380.0170.05318.52
5.4.370.0100.06318.64
5.4.360.0130.05018.68
5.4.350.0100.05318.49
5.4.340.0100.05318.59
5.4.320.0070.04112.45
5.4.310.0040.04012.45
5.4.300.0040.04212.45
5.4.290.0060.03912.45
5.4.280.0090.03712.35
5.4.270.0040.03912.34
5.4.260.0060.03812.34
5.4.250.0030.04012.34
5.4.240.0050.03812.35
5.4.230.0060.03812.34
5.4.220.0060.03612.34
5.4.210.0040.03912.34
5.4.200.0020.04312.34
5.4.190.0080.04612.34
5.4.180.0090.04112.34
5.4.170.0060.03512.34
5.4.160.0060.03712.34
5.4.150.0070.03712.34
5.4.140.0030.04012.02
5.4.130.0080.03512.01
5.4.120.0040.03911.97
5.4.110.0040.03811.96
5.4.100.0060.03711.96
5.4.90.0090.03611.96
5.4.80.0090.04511.96
5.4.70.0110.04211.96
5.4.60.0080.03411.96
5.4.50.0090.03311.96
5.4.40.0040.03611.95
5.4.30.0060.03511.95
5.4.20.0090.03711.95
5.4.10.0050.03511.95
5.4.00.0040.03911.44
5.3.290.0100.05212.80
5.3.280.0050.04312.71
5.3.270.0050.04412.73
5.3.260.0070.04012.72
5.3.250.0060.03712.72
5.3.240.0080.03512.72
5.3.230.0070.03812.71
5.3.220.0080.03512.68
5.3.210.0070.03912.68
5.3.200.0090.03312.68
5.3.190.0080.03612.68
5.3.180.0020.04112.67
5.3.170.0060.03612.67
5.3.160.0060.03712.67
5.3.150.0110.03212.67
5.3.140.0050.03712.66
5.3.130.0060.03812.66
5.3.120.0080.03712.66
5.3.110.0030.04412.66
5.3.100.0040.04112.12
5.3.90.0060.03812.09
5.3.80.0100.04812.07
5.3.70.0100.04012.08
5.3.60.0080.03912.06
5.3.50.0030.03812.00
5.3.40.0060.03612.00
5.3.30.0100.03311.94
5.3.20.0100.03911.72
5.3.10.0070.05311.69
5.3.00.0120.05011.68
5.2.170.0060.0319.18
5.2.160.0040.0389.18
5.2.150.0070.0349.18
5.2.140.0080.0419.18
5.2.130.0080.0439.13
5.2.120.0090.0549.13
5.2.110.0080.0289.14
5.2.100.0070.0289.14
5.2.90.0040.0319.14
5.2.80.0030.0329.14
5.2.70.0090.0359.13
5.2.60.0090.0399.09
5.2.50.0040.0499.05
5.2.40.0050.0339.03
5.2.30.0050.0319.01
5.2.20.0080.0389.02
5.2.10.0040.0308.93
5.2.00.0030.0308.79
5.1.60.0040.0258.08
5.1.50.0060.0238.07
5.1.40.0040.0258.06
5.1.30.0040.0258.41
5.1.20.0030.0318.43
5.1.10.0040.0268.15
5.1.00.0040.0298.15
5.0.50.0040.0256.63
5.0.40.0070.0266.49
5.0.30.0030.0456.30
5.0.20.0080.0156.27
5.0.10.0030.0206.25
5.0.00.0030.0316.25
4.4.90.0030.0164.78
4.4.80.0010.0184.75
4.4.70.0030.0164.75
4.4.60.0030.0164.75
4.4.50.0020.0174.77
4.4.40.0020.0274.71
4.4.30.0040.0154.76
4.4.20.0030.0164.84
4.4.10.0020.0174.85
4.4.00.0030.0254.76
4.3.110.0010.0184.67
4.3.100.0010.0174.66
4.3.90.0000.0174.63
4.3.80.0020.0254.59
4.3.70.0060.0114.63
4.3.60.0000.0184.63
4.3.50.0050.0144.63
4.3.40.0030.0244.54
4.3.30.0040.0143.29
4.3.20.0000.0183.28
4.3.10.0010.0163.22
4.3.00.0130.0207.01

preferences:
41.98 ms | 401 KiB | 5 Q