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.70.0070.01016.58
8.3.60.0140.00416.63
8.3.50.0140.00922.11
8.3.40.0120.00318.66
8.3.30.0100.01019.09
8.3.20.0070.00020.16
8.3.10.0040.00421.57
8.3.00.0040.00418.05
8.2.180.0140.00716.38
8.2.170.0170.00322.96
8.2.160.0030.01020.35
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00720.86
8.2.110.0000.00922.26
8.2.100.0100.00019.95
8.2.90.0000.00719.20
8.2.80.0000.00817.97
8.2.70.0000.00917.63
8.2.60.0080.00417.91
8.2.50.0060.00318.07
8.2.40.0000.00818.34
8.2.30.0080.00018.38
8.2.20.0040.00417.74
8.2.10.0060.00318.05
8.2.00.0040.00417.61
8.1.280.0130.00725.92
8.1.270.0090.00922.20
8.1.260.0040.00426.35
8.1.250.0100.00728.09
8.1.240.0100.00023.96
8.1.230.0060.00619.07
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0050.00318.32
8.1.160.0060.00321.95
8.1.150.0000.00718.77
8.1.140.0050.00217.41
8.1.130.0000.00717.70
8.1.120.0070.00017.39
8.1.110.0050.00217.34
8.1.100.0000.00717.25
8.1.90.0070.00017.39
8.1.80.0000.00817.45
8.1.70.0030.00317.40
8.1.60.0050.00517.54
8.1.50.0040.00417.51
8.1.40.0000.00817.46
8.1.30.0030.00517.47
8.1.20.0030.00617.50
8.1.10.0000.00717.53
8.1.00.0000.00817.54
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0000.00717.30
8.0.260.0060.00017.20
8.0.250.0030.00316.88
8.0.240.0040.00416.98
8.0.230.0040.00416.96
8.0.220.0000.00816.95
8.0.210.0080.00016.78
8.0.200.0030.00316.97
8.0.190.0030.00317.02
8.0.180.0040.00416.91
8.0.170.0040.00416.98
8.0.160.0040.00416.96
8.0.150.0080.00016.75
8.0.140.0030.00716.89
8.0.130.0030.00313.35
8.0.120.0040.00416.76
8.0.110.0040.00416.96
8.0.100.0080.00016.93
8.0.90.0030.00316.69
8.0.80.0120.00316.85
8.0.70.0000.00816.78
8.0.60.0050.00316.78
8.0.50.0040.00416.72
8.0.30.0100.00816.93
8.0.20.0120.00617.40
8.0.10.0040.00416.98
8.0.00.0090.01216.64
7.4.330.0050.00015.13
7.4.320.0050.00216.35
7.4.300.0030.00316.54
7.4.290.0030.00316.44
7.4.280.0030.00316.56
7.4.270.0070.00016.44
7.4.260.0000.00716.41
7.4.250.0000.00816.41
7.4.240.0030.00316.45
7.4.230.0000.00716.64
7.4.220.0130.00316.48
7.4.210.0090.00916.56
7.4.200.0030.00316.33
7.4.160.0080.00816.48
7.4.150.0060.01017.40
7.4.140.0080.00917.86
7.4.130.0110.00716.46
7.4.120.0120.00616.49
7.4.110.0090.01216.52
7.4.100.0080.00816.53
7.4.90.0060.01116.53
7.4.80.0160.00619.39
7.4.70.0090.00616.35
7.4.60.0190.00316.65
7.4.50.0040.00416.41
7.4.40.0080.00816.49
7.4.30.0030.01216.44
7.4.00.0100.00714.64
7.3.330.0020.00213.13
7.3.320.0060.00012.95
7.3.310.0000.00716.28
7.3.300.0000.00716.04
7.3.290.0060.00716.26
7.3.280.0040.01316.23
7.3.270.0150.00317.40
7.3.260.0080.00816.43
7.3.250.0100.00916.43
7.3.240.0130.00316.21
7.3.230.0140.00316.39
7.3.210.0110.00716.37
7.3.200.0130.00919.39
7.3.190.0100.01016.58
7.3.180.0100.00716.37
7.3.170.0030.01216.32
7.3.160.0060.01216.44
7.3.120.0030.01414.86
7.3.10.0070.00316.54
7.3.00.0040.00416.64
7.2.330.0090.00916.55
7.2.320.0030.01316.54
7.2.310.0100.00716.51
7.2.300.0080.00816.66
7.2.290.0070.01016.60
7.2.130.0050.00516.53
7.2.120.0000.00916.61
7.2.110.0040.01116.70
7.2.100.0040.00816.78
7.2.90.0040.01116.52
7.2.80.0030.01016.69
7.2.70.0080.00816.75
7.2.60.0070.00316.55
7.2.50.0000.01316.78
7.2.40.0090.00616.61
7.2.30.0030.00716.51
7.2.20.0070.00716.91
7.2.10.0100.00016.89
7.2.00.0040.00718.02
7.1.250.0040.00815.64
7.1.100.0070.00717.86
7.1.70.0000.00916.82
7.1.60.0070.01719.25
7.1.50.0040.00716.83
7.1.00.0100.05322.48
7.0.200.0060.00316.63
7.0.140.0070.07022.09
7.0.60.0070.05320.00
7.0.50.0030.08317.88
7.0.40.0070.04020.32
7.0.30.0230.05720.09
7.0.20.0200.08320.13
7.0.10.0070.08320.27
7.0.00.0100.04020.30
5.6.280.0030.07320.81
5.6.210.0100.08320.62
5.6.200.0070.03718.08
5.6.190.0070.08720.39
5.6.180.0500.03320.41
5.6.170.0230.08020.51
5.6.160.0130.08020.38
5.6.150.0100.06718.15
5.6.140.0030.05018.11
5.6.130.0070.08018.12
5.6.120.0100.08021.11
5.6.110.0100.04021.07
5.6.100.0070.05720.97
5.6.90.0070.08720.99
5.6.80.0070.08020.47
5.5.350.3770.04320.32
5.5.340.0100.07718.02
5.5.330.0100.06320.37
5.5.320.0300.07320.14
5.5.310.0230.08020.28
5.5.300.0100.03317.91
5.5.290.0100.07717.95
5.5.280.0200.03320.76
5.5.270.0030.04020.88
5.5.260.0100.05320.75
5.5.250.0070.06020.57
5.5.240.0170.04320.11
5.4.450.0230.08019.52
5.4.440.0100.05719.61
5.4.430.0400.06319.31
5.4.420.0730.05719.10
5.4.410.0100.05718.93
5.4.400.0270.05718.79
5.4.390.0300.05018.71
5.4.380.0230.05018.74
5.4.370.0170.03318.49
5.4.360.0100.04318.61
5.4.350.0030.03911.97
5.4.340.0080.03811.96
5.4.320.0050.04212.45
5.4.310.0070.04412.45
5.4.300.0040.03712.45
5.4.290.0060.03712.45
5.4.280.0070.03512.34
5.4.270.0080.04212.35
5.4.260.0050.04012.34
5.4.250.0080.04012.34
5.4.240.0090.03512.35
5.4.230.0090.03512.34
5.4.220.0050.03812.34
5.4.210.0080.04112.34
5.4.200.0060.03612.34
5.4.190.0080.03612.34
5.4.180.0060.03612.34
5.4.170.0080.04412.35
5.4.160.0070.03712.34
5.4.150.0030.03912.34
5.4.140.0060.03712.02
5.4.130.0030.03812.01
5.4.120.0060.03411.96
5.4.110.0070.03411.96
5.4.100.0070.03411.96
5.4.90.0080.03411.96
5.4.80.0060.03611.96
5.4.70.0060.03411.96
5.4.60.0040.04011.96
5.4.50.0050.03611.96
5.4.40.0090.03111.95
5.4.30.0060.03711.95
5.4.20.0080.03711.95
5.4.10.0050.03611.95
5.4.00.0050.03711.43
5.3.290.0130.03712.80
5.3.280.0080.03712.71
5.3.270.0060.04512.73
5.3.260.0060.03912.72
5.3.250.0080.03612.72
5.3.240.0080.03912.72
5.3.230.0070.03712.71
5.3.220.0100.03312.68
5.3.210.0050.04012.68
5.3.200.0020.03912.68
5.3.190.0040.03812.67
5.3.180.0040.03912.67
5.3.170.0030.04012.67
5.3.160.0040.03712.68
5.3.150.0080.04112.68
5.3.140.0070.03412.66
5.3.130.0060.04312.66
5.3.120.0070.04212.66
5.3.110.0070.03712.66
5.3.100.0100.03412.12
5.3.90.0060.03912.09
5.3.80.0080.03412.08
5.3.70.0080.03412.07
5.3.60.0060.03512.06
5.3.50.0060.03612.00
5.3.40.0040.03712.00
5.3.30.0050.03511.94
5.3.20.0030.03811.72
5.3.10.0060.03411.69
5.3.00.0070.03411.68
5.2.170.0050.0299.18
5.2.160.0050.0279.18
5.2.150.0020.0339.18
5.2.140.0050.0299.17
5.2.130.0020.0319.13
5.2.120.0050.0289.14
5.2.110.0060.0279.14
5.2.100.0050.0279.14
5.2.90.0070.0359.14
5.2.80.0050.0299.13
5.2.70.0070.0319.13
5.2.60.0050.0299.09
5.2.50.0010.0349.05
5.2.40.0030.0299.03
5.2.30.0040.0299.01
5.2.20.0030.0299.02
5.2.10.0040.0368.94
5.2.00.0020.0308.80
5.1.60.0060.0228.08
5.1.50.0020.0278.07
5.1.40.0050.0248.06
5.1.30.0040.0268.41
5.1.20.0040.0268.43
5.1.10.0040.0258.15
5.1.00.0020.0288.15
5.0.50.0040.0256.63
5.0.40.0030.0206.49
5.0.30.0030.0306.30
5.0.20.0050.0186.27
5.0.10.0040.0186.25
5.0.00.0040.0326.24
4.4.90.0020.0164.78
4.4.80.0030.0184.75
4.4.70.0030.0204.75
4.4.60.0050.0154.75
4.4.50.0030.0144.77
4.4.40.0030.0304.71
4.4.30.0020.0154.75
4.4.20.0020.0244.85
4.4.10.0050.0194.85
4.4.00.0050.0254.76
4.3.110.0030.0184.67
4.3.100.0030.0144.66
4.3.90.0030.0144.63
4.3.80.0030.0244.58
4.3.70.0010.0164.63
4.3.60.0030.0144.63
4.3.50.0050.0134.63
4.3.40.0050.0214.54
4.3.30.0020.0163.30
4.3.20.0010.0163.28
4.3.10.0050.0123.22
4.3.00.0030.0207.02

preferences:
42.77 ms | 401 KiB | 5 Q