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.0100.01018.30
8.3.50.0070.01021.96
8.3.40.0110.00418.73
8.3.30.0000.01419.04
8.3.20.0000.00820.35
8.3.10.0040.00423.45
8.3.00.0040.00420.76
8.2.180.0030.01416.63
8.2.170.0040.01122.96
8.2.160.0030.01420.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0140.00326.16
8.2.120.0050.00319.48
8.2.110.0060.00622.14
8.2.100.0040.00718.22
8.2.90.0050.00319.35
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00917.68
8.2.50.0050.00318.07
8.2.40.0050.00320.20
8.2.30.0030.00618.26
8.2.20.0000.00817.80
8.2.10.0040.00418.03
8.2.00.0060.00319.34
8.1.280.0070.01425.92
8.1.270.0030.00624.02
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.89
8.1.230.0070.00319.08
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0050.00318.66
8.1.160.0000.00722.00
8.1.150.0020.00518.55
8.1.140.0030.00617.45
8.1.130.0060.00017.73
8.1.120.0070.00017.41
8.1.110.0040.00417.33
8.1.100.0060.00317.44
8.1.90.0030.00317.38
8.1.80.0040.00417.52
8.1.70.0000.00817.34
8.1.60.0030.00517.61
8.1.50.0040.00417.41
8.1.40.0050.00317.54
8.1.30.0080.00017.65
8.1.20.0040.00417.67
8.1.10.0050.00317.45
8.1.00.0000.00817.52
8.0.300.0070.00018.77
8.0.290.0060.00316.71
8.0.280.0030.00318.50
8.0.270.0070.00017.26
8.0.260.0030.00317.26
8.0.250.0030.00316.92
8.0.240.0050.00316.91
8.0.230.0070.00016.88
8.0.220.0030.00316.75
8.0.210.0000.00816.91
8.0.200.0030.00316.97
8.0.190.0060.00316.91
8.0.180.0030.00516.88
8.0.170.0040.00416.92
8.0.160.0030.00516.86
8.0.150.0040.00416.86
8.0.140.0000.00716.81
8.0.130.0030.00313.25
8.0.120.0030.00516.90
8.0.110.0080.00016.90
8.0.100.0070.00016.76
8.0.90.0080.00016.84
8.0.80.0100.00716.90
8.0.70.0000.00716.88
8.0.60.0000.00816.93
8.0.50.0040.00416.78
8.0.30.0080.01117.01
8.0.20.0030.01517.40
8.0.10.0000.00716.93
8.0.00.0110.00716.77
7.4.330.0060.00015.02
7.4.320.0000.00816.43
7.4.300.0070.00016.50
7.4.290.0040.00416.50
7.4.280.0030.00316.57
7.4.270.0080.00016.61
7.4.260.0030.00316.56
7.4.250.0040.00416.49
7.4.240.0040.00316.59
7.4.230.0000.00716.54
7.4.220.0110.00716.35
7.4.210.0090.01016.48
7.4.200.0080.00016.65
7.4.160.0090.00616.34
7.4.150.0120.00617.40
7.4.140.0090.01017.86
7.4.130.0050.01216.49
7.4.120.0040.01316.57
7.4.110.0130.00316.41
7.4.100.0030.01416.54
7.4.90.0070.01016.28
7.4.80.0040.01819.39
7.4.70.0170.00716.30
7.4.60.0030.01316.31
7.4.50.0000.00916.46
7.4.40.0030.01716.56
7.4.30.0090.00616.62
7.4.00.0100.00315.25
7.3.330.0050.00013.02
7.3.320.0000.00513.10
7.3.310.0030.00316.21
7.3.300.0060.00016.29
7.3.290.0060.01516.14
7.3.280.0070.00916.21
7.3.270.0110.01117.40
7.3.260.0090.00916.45
7.3.250.0100.01016.26
7.3.240.0160.00616.59
7.3.230.0170.00016.39
7.3.210.0070.01016.35
7.3.200.0170.00619.39
7.3.190.0090.01216.16
7.3.180.0090.00916.48
7.3.170.0160.00716.45
7.3.160.0100.00616.36
7.3.120.0140.00014.82
7.3.10.0030.00916.66
7.3.00.0060.00616.52
7.2.330.0070.01016.70
7.2.320.0090.01316.69
7.2.310.0060.01016.36
7.2.300.0070.01016.32
7.2.290.0050.01316.50
7.2.130.0080.00416.50
7.2.120.0090.00316.59
7.2.110.0060.00616.72
7.2.100.0060.00316.73
7.2.90.0090.00316.83
7.2.80.0030.01016.46
7.2.70.0030.00616.56
7.2.60.0030.00616.64
7.2.50.0000.01516.70
7.2.40.0030.00916.80
7.2.30.0090.00316.63
7.2.20.0120.00416.77
7.2.10.0040.00716.67
7.2.00.0080.00416.64
7.1.250.0030.00615.64
7.1.200.0040.00815.40
7.1.70.0030.00517.13
7.1.60.0030.02219.70
7.1.50.0000.01016.89
7.1.00.0030.07722.30
7.0.200.0030.00516.62
7.0.140.0000.07721.95
7.0.60.0030.07320.02
7.0.50.0100.05317.91
7.0.40.0070.08320.30
7.0.30.0570.04720.21
7.0.20.0330.07720.33
7.0.10.0300.04020.21
7.0.00.0030.05020.11
5.6.280.0070.07021.10
5.6.210.0030.04020.52
5.6.200.0000.05318.18
5.6.190.0030.09320.58
5.6.180.0230.04720.54
5.6.170.0330.04320.47
5.6.160.0030.06720.37
5.6.150.0030.04318.09
5.6.140.0030.06718.17
5.6.130.0100.03718.10
5.6.120.0070.08020.96
5.6.110.0170.08021.11
5.6.100.0170.06720.97
5.6.90.0170.08021.07
5.6.80.0130.07320.52
5.6.70.0270.07020.27
5.5.350.0170.08020.43
5.5.340.0100.04717.92
5.5.330.0200.05720.21
5.5.320.0400.04020.25
5.5.310.0270.08320.12
5.5.300.0100.07018.02
5.5.290.0030.06017.89
5.5.280.0000.06020.88
5.5.270.0100.06320.72
5.5.260.0030.04320.86
5.5.250.0000.04720.68
5.5.240.0100.07720.18
5.4.450.0130.04019.39
5.4.440.0170.04019.38
5.4.430.0170.03719.40
5.4.420.0130.04019.41
5.4.410.0170.03719.29
5.4.400.0070.04319.25
5.4.390.0300.03018.82
5.4.380.0200.03019.09
5.4.370.0270.06718.79
5.4.360.0130.05718.92
5.4.350.0200.03719.08
5.4.340.0230.06319.25
5.4.320.0270.07019.09
5.4.310.0370.06319.16
5.4.300.0200.04019.05
5.4.290.0330.06719.13
5.4.280.0200.03718.88
5.4.270.0200.05719.21
5.4.260.0200.05019.24
5.4.250.0230.05718.88
5.4.240.0200.03719.23
5.4.230.0270.03718.80
5.4.220.0270.06319.09
5.4.210.0300.07018.78
5.4.200.0230.06318.78
5.4.190.0330.06719.05
5.4.180.0270.05719.20
5.4.170.0270.07019.23
5.4.160.0170.08019.06
5.4.150.0300.03719.14
5.4.140.0270.05316.29
5.4.130.0230.07016.32
5.4.120.0330.07016.45
5.4.110.0230.06016.39
5.4.100.0270.06716.49
5.4.90.0230.06016.46
5.4.80.0230.03316.20
5.4.70.0270.05316.19
5.4.60.0200.05316.36
5.4.50.0170.07016.40
5.4.40.0170.05016.41
5.4.30.0230.06716.31
5.4.20.0200.05716.03
5.4.10.0170.04016.16
5.4.00.0300.05015.71
5.3.290.0370.06014.52
5.3.280.0270.04714.43
5.3.270.0270.05714.43
5.3.260.0230.07714.46
5.3.250.0100.05014.65
5.3.240.0200.07014.55
5.3.230.0230.07314.59
5.3.220.0270.06714.55
5.3.210.0270.06314.54
5.3.200.0230.06014.52
5.3.190.0330.06314.45
5.3.180.0230.06314.65
5.3.170.0230.07714.54
5.3.160.0270.06014.44
5.3.150.0270.07014.59
5.3.140.0300.04314.50
5.3.130.0230.05014.42
5.3.120.0100.05014.45
5.3.110.0230.06014.48
5.3.100.0200.07313.94
5.3.90.0230.04713.99
5.3.80.0170.03713.86
5.3.70.0200.04013.86
5.3.60.0200.05713.83
5.3.50.0230.05313.97
5.3.40.0270.04713.78
5.3.30.0300.06013.94
5.3.20.0270.05713.67
5.3.10.0270.06313.49
5.3.00.0230.07013.41
5.2.170.0200.04011.30
5.2.160.0270.03311.08
5.2.150.0200.04011.19
5.2.140.0230.03711.15
5.2.130.0130.04011.26
5.2.120.0130.03310.94
5.2.110.0230.05311.25
5.2.100.0100.03311.11
5.2.90.0130.06311.04
5.2.80.0170.03011.11
5.2.70.0170.03011.18
5.2.60.0170.03010.88
5.2.50.0130.06010.90
5.2.40.0100.06010.93
5.2.30.0130.04010.82
5.2.20.0200.05310.86
5.2.10.0200.02310.85
5.2.00.0170.05310.73
5.1.60.0130.02710.11
5.1.50.0200.04710.11
5.1.40.0270.0379.95
5.1.30.0170.04010.44
5.1.20.0130.04010.36
5.1.10.0170.05010.04
5.1.00.0100.03310.06
5.0.50.0070.0479.74
5.0.40.0070.0209.74
5.0.30.0070.0609.74
5.0.20.0070.0479.74
5.0.10.0200.0279.74
5.0.00.0100.0479.74
4.4.90.0100.0379.74
4.4.80.0030.0179.74
4.4.70.0030.0279.74
4.4.60.0070.0209.74
4.4.50.0070.0209.74
4.4.40.0070.0239.74
4.4.30.0100.0179.74
4.4.20.0130.0309.74
4.4.10.0100.0379.74
4.4.00.0030.0409.74
4.3.110.0070.0239.74
4.3.100.0070.0179.74
4.3.90.0130.0139.74
4.3.80.0100.0509.74
4.3.70.0070.0379.74
4.3.60.0100.0339.74
4.3.50.0200.0239.74
4.3.40.0100.0539.74
4.3.30.0070.0209.74
4.3.20.0070.0339.74
4.3.10.0000.0309.74
4.3.00.0100.0309.74

preferences:
46.04 ms | 401 KiB | 5 Q