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.0110.00416.58
8.3.60.0140.00718.36
8.3.50.0090.00921.99
8.3.40.0110.00318.92
8.3.30.0110.00419.17
8.3.20.0080.00020.30
8.3.10.0040.00421.86
8.3.00.0050.00317.93
8.2.180.0120.00316.38
8.2.170.0120.00922.96
8.2.160.0140.00020.32
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0050.00220.88
8.2.110.0060.00322.25
8.2.100.0060.00618.34
8.2.90.0080.00019.27
8.2.80.0030.00717.97
8.2.70.0000.00817.63
8.2.60.0050.00318.05
8.2.50.0050.00318.07
8.2.40.0000.00818.28
8.2.30.0050.00318.22
8.2.20.0020.00517.61
8.2.10.0080.00018.03
8.2.00.0000.00817.71
8.1.280.0110.00725.92
8.1.270.0060.00323.77
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0220.00023.91
8.1.230.0110.00018.91
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0050.00318.49
8.1.160.0040.00421.87
8.1.150.0040.00418.77
8.1.140.0040.00417.30
8.1.130.0000.00717.83
8.1.120.0000.00717.37
8.1.110.0000.00717.36
8.1.100.0000.00717.45
8.1.90.0060.00317.29
8.1.80.0030.00417.39
8.1.70.0000.00717.34
8.1.60.0050.00317.45
8.1.50.0020.00517.49
8.1.40.0040.00417.50
8.1.30.0000.00817.49
8.1.20.0020.00517.58
8.1.10.0040.00417.61
8.1.00.0030.00617.53
8.0.300.0030.00618.77
8.0.290.0040.00416.63
8.0.280.0040.00418.50
8.0.270.0040.00417.27
8.0.260.0030.00317.22
8.0.250.0000.00716.96
8.0.240.0000.00716.93
8.0.230.0070.00016.86
8.0.220.0030.00316.81
8.0.210.0030.00316.80
8.0.200.0030.00316.95
8.0.190.0080.00017.00
8.0.180.0000.00716.91
8.0.170.0000.00816.88
8.0.160.0000.00716.88
8.0.150.0030.00316.85
8.0.140.0000.00816.86
8.0.130.0000.00513.33
8.0.120.0030.00616.79
8.0.110.0000.00816.83
8.0.100.0000.00716.79
8.0.90.0080.00016.84
8.0.80.0120.00316.91
8.0.70.0070.00016.75
8.0.60.0030.00416.90
8.0.50.0030.00616.98
8.0.30.0140.00517.11
8.0.20.0110.00717.40
8.0.10.0040.00416.82
8.0.00.0050.01316.60
7.4.330.0050.00015.00
7.4.320.0030.00316.59
7.4.300.0060.00016.55
7.4.290.0040.00416.46
7.4.280.0070.00016.59
7.4.270.0070.00016.40
7.4.260.0030.00316.57
7.4.250.0040.00416.48
7.4.240.0030.00416.51
7.4.230.0000.00716.24
7.4.220.0070.01116.56
7.4.210.0030.01616.41
7.4.200.0030.00516.42
7.4.160.0090.00616.42
7.4.150.0080.00917.40
7.4.140.0080.00917.86
7.4.130.0030.01816.55
7.4.120.0060.01116.51
7.4.110.0070.01316.45
7.4.100.0130.01016.37
7.4.90.0060.01016.34
7.4.80.0100.00719.39
7.4.70.0060.00916.48
7.4.60.0100.00716.36
7.4.50.0000.00516.13
7.4.40.0060.01216.43
7.4.30.0090.00616.66
7.4.00.0060.01014.78
7.3.330.0030.00313.00
7.3.320.0000.00512.91
7.3.310.0070.00016.33
7.3.300.0070.00016.22
7.3.290.0070.00816.14
7.3.280.0050.01216.20
7.3.270.0070.01017.40
7.3.260.0100.01016.13
7.3.250.0130.00516.21
7.3.240.0170.00016.45
7.3.230.0100.00616.40
7.3.210.0120.00616.21
7.3.200.0090.00919.39
7.3.190.0100.00616.47
7.3.180.0100.00716.21
7.3.170.0060.01416.56
7.3.160.0030.01216.29
7.3.120.0110.00414.52
7.2.330.0130.00616.38
7.2.320.0090.01316.60
7.2.310.0120.00916.59
7.2.300.0130.00316.55
7.2.290.0100.01016.29
7.2.00.0030.01019.29
7.1.200.0070.00315.63
7.1.100.0030.00617.95
7.1.70.0080.00017.16
7.1.60.0070.01819.70
7.1.50.0120.01216.53
7.1.00.0000.08022.39
7.0.200.0070.00716.80
7.0.140.0070.07321.95
7.0.60.0130.05719.94
7.0.50.0070.05717.73
7.0.40.0130.07020.04
7.0.30.0530.06320.04
7.0.20.0230.05020.13
7.0.10.0300.07320.14
7.0.00.0130.04720.16
5.6.280.0070.07021.00
5.6.210.0130.07320.59
5.6.200.0130.07718.23
5.6.190.0030.04320.41
5.6.180.0230.08020.49
5.6.170.0270.07020.46
5.6.160.0100.08320.42
5.6.150.0000.06018.07
5.6.140.0030.04018.17
5.6.130.0100.07718.14
5.6.120.0070.07720.97
5.6.110.0070.04021.02
5.6.100.0030.05721.11
5.6.90.0170.08720.99
5.6.80.0030.05720.44
5.6.70.4530.03320.39
5.5.350.0230.03020.37
5.5.340.0030.08018.01
5.5.330.0030.07720.32
5.5.320.0370.06720.41
5.5.310.0500.06320.28
5.5.300.0130.06717.97
5.5.290.0100.08017.97
5.5.280.0100.04020.64
5.5.270.0030.06320.96
5.5.260.0030.09020.87
5.5.250.0030.07020.55
5.5.240.3130.03320.25
5.4.450.1330.05019.39
5.4.440.1430.03019.21
5.4.430.0400.03019.57
5.4.420.1200.05019.41
5.4.410.0800.03719.28
5.4.400.1100.04718.92
5.4.390.1370.02719.06
5.4.380.0300.05718.66
5.4.370.0300.05318.64
5.4.360.0270.06318.70
5.4.350.0370.05018.65
5.4.340.0370.06018.64
5.4.320.0050.03812.45
5.4.310.0060.03812.45
5.4.300.0080.03512.45
5.4.290.0050.03812.45
5.4.280.0060.03512.35
5.4.270.0050.03712.34
5.4.260.0050.04312.35
5.4.250.0040.03812.34
5.4.240.0080.03912.34
5.4.230.0080.04812.34
5.4.220.0070.03512.34
5.4.210.0020.04012.34
5.4.200.0080.03612.34
5.4.190.0060.03712.34
5.4.180.0040.03712.33
5.4.170.0050.03712.35
5.4.160.0090.03312.34
5.4.150.0070.03512.34
5.4.140.0080.03412.02
5.4.130.0090.03912.01
5.4.120.0060.03611.97
5.4.110.0040.04111.96
5.4.100.0070.03411.96
5.4.90.0060.04311.96
5.4.80.0090.03411.96
5.4.70.0060.03411.96
5.4.60.0050.03511.96
5.4.50.0100.04211.96
5.4.40.0060.04111.95
5.4.30.0060.03611.95
5.4.20.0060.03511.95
5.4.10.0080.03511.95
5.4.00.0070.03511.43
5.3.290.0050.04012.80
5.3.280.0060.03812.71
5.3.270.0090.04512.73
5.3.260.0050.04012.72
5.3.250.0080.03512.72
5.3.240.0070.03912.72
5.3.230.0090.03612.71
5.3.220.0050.03812.68
5.3.210.0090.03912.68
5.3.200.0080.03512.68
5.3.190.0050.04012.68
5.3.180.0070.03512.67
5.3.170.0080.03512.67
5.3.160.0120.03512.68
5.3.150.0070.03612.67
5.3.140.0100.03712.66
5.3.130.0070.04112.66
5.3.120.0090.03812.66
5.3.110.0080.04312.66
5.3.100.0100.03312.12
5.3.90.0070.04112.09
5.3.80.0020.04012.08
5.3.70.0100.03312.08
5.3.60.0070.04512.06
5.3.50.0060.03712.00
5.3.40.0040.04412.00
5.3.30.0050.03511.94
5.3.20.0060.03511.72
5.3.10.0040.03711.69
5.3.00.0060.03611.68
5.2.170.0060.0299.18
5.2.160.0020.0329.18
5.2.150.0030.0319.18
5.2.140.0050.0309.17
5.2.130.0050.0299.14
5.2.120.0020.0319.13
5.2.110.0050.0309.14
5.2.100.0050.0299.14
5.2.90.0070.0319.14
5.2.80.0040.0319.14
5.2.70.0080.0299.13
5.2.60.0030.0339.09
5.2.50.0050.0309.05
5.2.40.0050.0299.03
5.2.30.0030.0319.01
5.2.20.0040.0309.01
5.2.10.0030.0348.93
5.2.00.0050.0288.79
5.1.60.0030.0258.08
5.1.50.0060.0228.07
5.1.40.0060.0228.06
5.1.30.0040.0268.41
5.1.20.0040.0268.43
5.1.10.0030.0278.15
5.1.00.0040.0258.16
5.0.50.0010.0276.63
5.0.40.0020.0236.49
5.0.30.0040.0336.30
5.0.20.0020.0216.27
5.0.10.0030.0206.25
5.0.00.0030.0336.25
4.4.90.0030.0174.78
4.4.80.0050.0154.75
4.4.70.0030.0194.76
4.4.60.0030.0184.76
4.4.50.0030.0164.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0030.0194.84
4.4.10.0020.0174.84
4.4.00.0040.0284.76
4.3.110.0030.0194.67
4.3.100.0040.0174.67
4.3.90.0030.0174.64
4.3.80.0040.0274.58
4.3.70.0040.0174.63
4.3.60.0030.0134.63
4.3.50.0080.0174.63
4.3.40.0000.0274.54
4.3.30.0020.0183.30
4.3.20.0000.0173.27
4.3.10.0030.0143.22
4.3.00.0300.01315.00

preferences:
52.71 ms | 401 KiB | 5 Q