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.0080.00818.18
8.3.50.0090.00921.98
8.3.40.0040.01118.73
8.3.30.0100.00319.08
8.3.20.0030.00720.32
8.3.10.0000.00823.71
8.3.00.0050.00319.20
8.2.180.0100.00718.41
8.2.170.0090.00922.96
8.2.160.0030.01020.32
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0060.00319.04
8.2.110.0030.00622.25
8.2.100.0090.00317.72
8.2.90.0000.00819.21
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0000.00818.16
8.2.50.0040.00418.07
8.2.40.0030.00520.06
8.2.30.0050.00318.22
8.2.20.0050.00317.63
8.2.10.0000.00718.04
8.2.00.0020.00517.74
8.1.280.0110.00425.92
8.1.270.0030.00623.96
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00923.83
8.1.230.0080.00418.95
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0030.00517.13
8.1.180.0000.01018.91
8.1.170.0030.00618.43
8.1.160.0040.00421.93
8.1.150.0040.00418.50
8.1.140.0000.00717.30
8.1.130.0050.00217.79
8.1.120.0000.00717.42
8.1.110.0000.00817.25
8.1.100.0000.00817.38
8.1.90.0000.00717.37
8.1.80.0000.00717.27
8.1.70.0030.00517.36
8.1.60.0030.00517.49
8.1.50.0050.00317.41
8.1.40.0050.00217.36
8.1.30.0030.00617.60
8.1.20.0070.00017.57
8.1.10.0080.00017.47
8.1.00.0040.00417.54
8.0.300.0040.00420.61
8.0.290.0040.00417.16
8.0.280.0040.00318.44
8.0.270.0030.00517.26
8.0.260.0030.00317.25
8.0.250.0030.00316.89
8.0.240.0000.00716.95
8.0.230.0030.00316.99
8.0.220.0030.00316.87
8.0.210.0030.00316.78
8.0.200.0070.00017.02
8.0.190.0040.00416.92
8.0.180.0000.00716.96
8.0.170.0050.00316.91
8.0.160.0040.00416.94
8.0.150.0080.00016.84
8.0.140.0040.00416.70
8.0.130.0030.00313.30
8.0.120.0040.00416.87
8.0.110.0060.00316.75
8.0.100.0000.00716.72
8.0.90.0040.00416.96
8.0.80.0110.00416.92
8.0.70.0040.00416.83
8.0.60.0000.00716.76
8.0.50.0040.00416.83
8.0.30.0080.01117.12
8.0.20.0150.01017.40
8.0.10.0050.00216.72
8.0.00.0040.01516.58
7.4.330.0040.00415.00
7.4.320.0000.00616.40
7.4.300.0030.00316.44
7.4.290.0000.00716.53
7.4.280.0080.00016.45
7.4.270.0070.00016.44
7.4.260.0030.00316.49
7.4.250.0050.00216.51
7.4.240.0040.00416.47
7.4.230.0030.00316.60
7.4.220.0180.00016.54
7.4.210.0110.00316.46
7.4.200.0000.00716.39
7.4.190.0000.00716.35
7.4.160.0070.00716.36
7.4.150.0200.00317.40
7.4.140.0090.00817.86
7.4.130.0120.00616.52
7.4.120.0060.01216.45
7.4.110.0080.01516.54
7.4.100.0110.00716.58
7.4.90.0070.01016.70
7.4.80.0100.00719.39
7.4.70.0110.00716.67
7.4.60.0090.00916.45
7.4.50.0050.00316.37
7.4.40.0100.00716.33
7.4.30.0030.01316.46
7.4.00.0070.01015.02
7.3.330.0060.00013.10
7.3.320.0020.00212.99
7.3.310.0030.00316.34
7.3.300.0000.00716.11
7.3.290.0070.00716.17
7.3.280.0080.00916.26
7.3.270.0070.01117.40
7.3.260.0100.00616.37
7.3.250.0110.00916.44
7.3.240.0070.01016.17
7.3.230.0070.01616.39
7.3.210.0140.00316.52
7.3.200.0030.01419.39
7.3.190.0160.00616.46
7.3.180.0100.00616.12
7.3.170.0090.01216.36
7.3.160.0070.01016.29
7.3.120.0140.00314.74
7.2.330.0110.01116.68
7.2.320.0070.01116.26
7.2.310.0200.00316.49
7.2.300.0040.01416.60
7.2.290.0180.00416.45
7.2.00.0060.00619.40
7.1.100.0090.00917.90
7.1.70.0000.01216.71
7.1.60.0110.01119.46
7.1.50.0100.01316.77
7.1.00.0030.07722.44
7.0.200.0070.00016.49
7.0.140.0030.07322.21
7.0.60.0030.07019.87
7.0.50.0000.04717.82
7.0.40.0100.08020.42
7.0.30.0270.06320.02
7.0.20.0470.07020.20
7.0.10.0070.08720.13
7.0.00.0100.04720.17
5.6.280.0070.06721.06
5.6.210.0070.08320.71
5.6.200.0070.05318.11
5.6.190.0130.06320.41
5.6.180.0230.07320.27
5.6.170.0200.03720.71
5.6.160.0100.08020.53
5.6.150.0030.06318.12
5.6.140.0030.03718.09
5.6.130.0130.07318.09
5.6.120.0100.08021.13
5.6.110.0170.07021.13
5.6.100.0100.08021.03
5.6.90.0100.07021.09
5.6.80.0030.05320.38
5.5.350.3670.03320.43
5.5.340.0030.04017.95
5.5.330.0030.06320.48
5.5.320.0200.07020.29
5.5.310.0230.07020.29
5.5.300.0130.06718.01
5.5.290.0130.06717.92
5.5.280.0100.05720.88
5.5.270.0100.07020.87
5.5.260.0130.06320.88
5.5.250.0170.07720.68
5.5.240.0070.08020.03
5.4.450.0230.05019.39
5.4.440.0230.07719.42
5.4.430.0300.07719.13
5.4.420.0230.06319.56
5.4.410.0330.05719.26
5.4.400.0200.05018.89
5.4.390.0270.03719.04
5.4.380.0270.04719.09
5.4.370.0300.03718.88
5.4.360.0170.05018.78
5.4.350.0200.07019.09
5.4.340.0200.07018.81
5.4.320.0230.04319.16
5.4.310.0170.04019.13
5.4.300.0170.04719.22
5.4.290.0130.04018.91
5.4.280.0200.03719.08
5.4.270.0200.03318.95
5.4.260.0130.04018.77
5.4.250.0130.04019.13
5.4.240.0230.05318.80
5.4.230.0230.07019.23
5.4.220.0330.04319.07
5.4.210.0230.04719.23
5.4.200.0170.04019.25
5.4.190.0230.05018.77
5.4.180.0230.05719.22
5.4.170.0430.05718.92
5.4.160.0200.06019.20
5.4.150.0200.04718.91
5.4.140.0200.07316.45
5.4.130.0230.05016.32
5.4.120.0370.05016.14
5.4.110.0300.06316.18
5.4.100.0200.06016.18
5.4.90.0230.03716.38
5.4.80.0200.06316.38
5.4.70.0300.04016.46
5.4.60.0300.06016.36
5.4.50.0230.03316.36
5.4.40.0100.06016.15
5.4.30.0200.04316.43
5.4.20.0230.03316.15
5.4.10.0200.04716.41
5.4.00.0170.03315.67
5.3.290.0170.04014.50
5.3.280.0170.03714.50
5.3.270.0270.04314.44
5.3.260.0130.04714.62
5.3.250.0270.05314.55
5.3.240.0200.05014.62
5.3.230.0130.04314.52
5.3.220.0270.04314.47
5.3.210.0200.07014.41
5.3.200.0300.04714.39
5.3.190.0230.07314.50
5.3.180.0270.06714.47
5.3.170.0370.06014.46
5.3.160.0300.03714.48
5.3.150.0300.06314.43
5.3.140.0200.04714.46
5.3.130.0200.07714.53
5.3.120.0230.04714.49
5.3.110.0170.07714.48
5.3.100.0170.06013.94
5.3.90.0270.04013.95
5.3.80.0200.04014.03
5.3.70.0130.04013.79
5.3.60.0230.07013.95
5.3.50.0170.04713.98
5.3.40.0270.07713.85
5.3.30.0270.06013.70
5.3.20.0170.07313.64
5.3.10.0270.04713.48
5.3.00.0300.04013.51
5.2.170.0230.03713.00
5.2.160.0230.02313.00
5.2.150.0130.04713.00
5.2.140.0170.06013.00
5.2.130.0230.04313.00
5.2.120.0170.03713.00
5.2.110.0130.06313.00
5.2.100.0170.04313.00
5.2.90.0200.06013.00
5.2.80.0230.05313.00
5.2.70.0200.03313.00
5.2.60.0200.04013.00
5.2.50.0170.06013.00
5.2.40.0170.03013.00
5.2.30.0200.03313.00
5.2.20.0170.03013.00
5.2.10.0130.05313.00
5.2.00.0130.05313.00
5.1.60.0230.04013.00
5.1.50.0170.03013.00
5.1.40.0170.02313.00
5.1.30.0100.02713.00
5.1.20.0130.05313.00
5.1.10.0130.03013.00
5.1.00.0200.02713.00
5.0.50.0030.02313.00
5.0.40.0030.04713.00
5.0.30.0100.02713.00
5.0.20.0100.02713.00
5.0.10.0070.03713.00
5.0.00.0100.03713.00
4.4.90.0100.02313.00
4.4.80.0030.02713.00
4.4.70.0100.02313.00
4.4.60.0170.02313.00
4.4.50.0130.02713.00
4.4.40.0130.04013.00
4.4.30.0030.03713.00
4.4.20.0100.02013.00
4.4.10.0070.02713.00
4.4.00.0030.05313.00
4.3.110.0100.03313.00
4.3.100.0100.03713.00
4.3.90.0230.02313.00
4.3.80.0100.04713.00
4.3.70.0030.02013.00
4.3.60.0170.02713.00
4.3.50.0130.03013.00
4.3.40.0070.03713.00
4.3.30.0130.02713.00
4.3.20.0130.01713.00
4.3.10.0030.02713.00
4.3.00.0070.02313.00

preferences:
42.42 ms | 401 KiB | 5 Q