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 " . $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.0140.01018.18
8.3.50.0070.01321.79
8.3.40.0110.00718.71
8.3.30.0100.00719.09
8.3.20.0040.00420.15
8.3.10.0040.00420.51
8.3.00.0040.00419.25
8.2.180.0070.01416.63
8.2.170.0120.00322.96
8.2.160.0110.00720.47
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00722.20
8.2.110.0030.00620.55
8.2.100.0110.00018.09
8.2.90.0040.00419.17
8.2.80.0030.00617.97
8.2.70.0090.00317.50
8.2.60.0050.00317.78
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0030.00519.36
8.2.20.0000.00817.75
8.2.10.0000.00917.93
8.2.00.0000.00817.72
8.1.280.0060.00925.92
8.1.270.0040.00422.27
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.87
8.1.230.0060.00618.98
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00717.22
8.1.190.0080.00017.23
8.1.180.0070.00018.10
8.1.170.0030.00818.55
8.1.160.0000.00722.01
8.1.150.0000.00718.81
8.1.140.0040.00417.45
8.1.130.0000.00617.82
8.1.120.0000.00717.37
8.1.110.0080.00017.50
8.1.100.0070.00017.42
8.1.90.0000.00717.50
8.1.80.0040.00417.36
8.1.70.0070.00017.33
8.1.60.0060.00317.63
8.1.50.0070.00017.55
8.1.40.0040.00417.52
8.1.30.0040.00417.61
8.1.20.0040.00417.58
8.1.10.0040.00417.50
8.1.00.0040.00417.55
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0050.00318.51
8.0.270.0030.00317.27
8.0.260.0030.00317.24
8.0.250.0000.00717.00
8.0.240.0050.00316.86
8.0.230.0020.00516.98
8.0.220.0000.00716.79
8.0.210.0000.00716.79
8.0.200.0030.00316.99
8.0.190.0000.00816.82
8.0.180.0070.00016.87
8.0.170.0000.00816.95
8.0.160.0050.00316.87
8.0.150.0000.00816.71
8.0.140.0070.00316.64
8.0.130.0060.00013.34
8.0.120.0050.00216.81
8.0.110.0000.00716.92
8.0.100.0070.00016.88
8.0.90.0080.00016.91
8.0.80.0070.01016.90
8.0.70.0000.00716.79
8.0.60.0050.00216.74
8.0.50.0040.00416.77
8.0.30.0120.00616.92
8.0.20.0160.00617.40
8.0.10.0080.00016.82
8.0.00.0030.01316.65
7.4.330.0060.00015.07
7.4.320.0060.00016.59
7.4.300.0060.00016.59
7.4.290.0000.00716.52
7.4.280.0050.00316.50
7.4.270.0030.00316.59
7.4.260.0030.00316.50
7.4.250.0030.00516.61
7.4.240.0040.00316.49
7.4.230.0070.00016.36
7.4.220.0070.01116.50
7.4.210.0150.00416.40
7.4.200.0040.00416.43
7.4.160.0120.00416.57
7.4.150.0100.00717.40
7.4.140.0070.01017.86
7.4.130.0120.00616.42
7.4.120.0110.00516.60
7.4.110.0100.00716.39
7.4.100.0140.00316.60
7.4.90.0100.00616.39
7.4.80.0030.02116.43
7.4.70.0090.00916.48
7.4.60.0100.00616.36
7.4.50.0000.00816.36
7.4.40.0140.00416.57
7.4.30.0070.01016.45
7.4.00.0100.00714.86
7.3.330.0050.00013.06
7.3.320.0000.00513.15
7.3.310.0000.00716.19
7.3.300.0030.00616.11
7.3.290.0040.01116.17
7.3.280.0090.01116.17
7.3.270.0090.00917.40
7.3.260.0090.00916.58
7.3.250.0100.00716.39
7.3.240.0140.00716.45
7.3.230.0150.00416.48
7.3.210.0200.00016.39
7.3.200.0160.00519.39
7.3.190.0090.01516.25
7.3.180.0060.01016.23
7.3.170.0060.00916.58
7.3.160.0050.01616.38
7.2.330.0070.01116.68
7.2.320.0060.01616.37
7.2.310.0100.01016.73
7.2.300.0030.01216.40
7.2.290.0060.01816.68
7.2.110.0180.00616.50
7.2.00.0100.00319.55
7.1.100.0070.00418.05
7.1.70.0000.00816.80
7.1.60.0090.01519.32
7.1.50.0070.01516.82
7.1.00.0070.07322.45
7.0.200.0060.00316.86
7.0.140.0130.06322.08
7.0.60.0100.08319.75
7.0.50.0070.08017.82
7.0.40.0100.08720.24
7.0.30.0530.07020.34
7.0.20.0370.06720.09
7.0.10.0330.06020.13
7.0.00.0000.07019.99
5.6.280.0030.07321.09
5.6.210.0130.07720.60
5.6.200.0000.07318.13
5.6.190.0130.05720.57
5.6.180.0270.06020.60
5.6.170.0270.03720.71
5.6.160.0030.04020.40
5.6.150.0070.08018.22
5.6.140.0030.08718.12
5.6.130.0030.09018.22
5.6.120.0130.07020.96
5.6.110.0030.08321.04
5.6.100.0070.07720.97
5.6.90.0030.07721.12
5.6.80.0070.08020.52
5.6.70.3930.04320.52
5.5.350.0200.08020.48
5.5.340.0130.07018.05
5.5.330.0030.06720.40
5.5.320.0330.08020.20
5.5.310.0200.06720.30
5.5.300.0070.05317.88
5.5.290.0070.04017.92
5.5.280.0030.04320.77
5.5.270.0030.04320.87
5.5.260.0100.08320.87
5.5.250.0030.04020.68
5.5.240.0400.07020.36
5.4.450.0270.04019.49
5.4.440.0200.05019.45
5.4.430.0230.04019.45
5.4.420.0500.04019.45
5.4.410.0630.03719.45
5.4.400.0470.03719.45
5.4.390.0970.04019.45
5.4.380.0270.05718.68
5.4.370.0270.05718.72
5.4.360.0400.06718.50
5.4.350.0270.06018.63
5.4.340.0330.05318.71
5.4.320.0070.03912.45
5.4.310.0050.03912.45
5.4.300.0080.03812.45
5.4.290.0070.04212.45
5.4.280.0080.03912.35
5.4.270.0060.03612.35
5.4.260.0080.03612.35
5.4.250.0090.03812.34
5.4.240.0040.03712.35
5.4.230.0070.04812.34
5.4.220.0070.03712.34
5.4.210.0070.03712.34
5.4.200.0070.03512.34
5.4.190.0100.03812.33
5.4.180.0090.04012.33
5.4.170.0100.03612.34
5.4.160.0040.04012.34
5.4.150.0100.04012.34
5.4.140.0050.04312.02
5.4.130.0070.04412.01
5.4.120.0060.04011.97
5.4.110.0060.03911.96
5.4.100.0050.04811.97
5.4.90.0100.03911.96
5.4.80.0060.05111.96
5.4.70.0070.03711.96
5.4.60.0070.03311.96
5.4.50.0070.03611.72
5.4.40.0080.03711.95
5.4.30.0070.04311.95
5.4.20.0070.03411.95
5.4.10.0080.04011.95
5.4.00.0080.03211.44
5.3.290.0050.04112.80
5.3.280.0110.03312.71
5.3.270.0060.03812.73
5.3.260.0080.03712.72
5.3.250.0080.04312.72
5.3.240.0140.04712.27
5.3.230.0100.04012.71
5.3.220.0050.04212.68
5.3.210.0100.04512.68
5.3.200.0120.03212.68
5.3.190.0070.04812.68
5.3.180.0070.04712.67
5.3.170.0040.04312.67
5.3.160.0060.03812.68
5.3.150.0100.03912.68
5.3.140.0060.04712.66
5.3.130.0060.04312.66
5.3.120.0050.04812.66
5.3.110.0050.03912.66
5.3.100.0060.04212.12
5.3.90.0100.03812.09
5.3.80.0100.04012.07
5.3.70.0100.04312.08
5.3.60.0060.04712.07
5.3.50.0110.03412.00
5.3.40.0090.03912.00
5.3.30.0060.03411.94
5.3.20.0090.03911.72
5.3.10.0080.03811.69
5.3.00.0090.03611.68
5.2.170.0080.0359.18
5.2.160.0070.0379.18
5.2.150.0050.0309.18
5.2.140.0060.0349.18
5.2.130.0080.0349.13
5.2.120.0030.0319.14
5.2.110.0090.0289.14
5.2.100.0080.0369.14
5.2.90.0070.0309.14
5.2.80.0050.0329.13
5.2.70.0100.0319.14
5.2.60.0040.0319.09
5.2.50.0080.0289.06
5.2.40.0070.0299.03
5.2.30.0050.0309.00
5.2.20.0070.0279.00
5.2.10.0040.0388.92
5.2.00.0040.0338.78
5.1.60.0020.0268.06
5.1.50.0080.0308.05
5.1.40.0070.0308.04
5.1.30.0110.0248.39
5.1.20.0040.0278.41
5.1.10.0050.0258.14
5.1.00.0040.0268.13
5.0.50.0030.0216.62
5.0.40.0030.0206.48
5.0.30.0030.0326.29
5.0.20.0040.0246.26
5.0.10.0040.0286.24
5.0.00.0020.0326.23
4.4.90.0060.0164.78
4.4.80.0030.0184.75
4.4.70.0030.0174.76
4.4.60.0000.0174.75
4.4.50.0020.0164.77
4.4.40.0040.0244.71
4.4.30.0020.0164.75
4.4.20.0060.0194.85
4.4.10.0050.0134.85
4.4.00.0030.0244.76
4.3.110.0040.0144.67
4.3.100.0040.0144.66
4.3.90.0020.0184.64
4.3.80.0050.0314.59
4.3.70.0020.0164.63
4.3.60.0020.0174.63
4.3.50.0030.0184.62
4.3.40.0030.0234.54
4.3.30.0040.0153.29
4.3.20.0010.0173.26
4.3.10.0000.0173.22
4.3.00.0000.01719.45

preferences:
40.7 ms | 401 KiB | 5 Q