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.00716.58
8.3.60.0080.00616.50
8.3.50.0140.00521.95
8.3.40.0090.00618.97
8.3.30.0100.00719.04
8.3.20.0000.00820.21
8.3.10.0090.00023.46
8.3.00.0080.00019.18
8.2.180.0070.00718.16
8.2.170.0110.00422.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.01120.50
8.2.110.0050.00322.07
8.2.100.0100.00319.58
8.2.90.0090.00019.34
8.2.80.0080.00017.97
8.2.70.0080.00017.50
8.2.60.0050.00517.93
8.2.50.0040.00418.07
8.2.40.0080.00019.76
8.2.30.0040.00718.18
8.2.20.0060.00317.75
8.2.10.0000.00718.12
8.2.00.0030.00617.55
8.1.280.0070.01425.92
8.1.270.0040.00424.02
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00423.70
8.1.230.0070.00419.03
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0090.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.43
8.1.160.0030.00522.08
8.1.150.0060.00318.60
8.1.140.0050.00217.35
8.1.130.0000.00817.78
8.1.120.0030.00317.48
8.1.110.0000.00817.47
8.1.100.0080.00017.39
8.1.90.0040.00417.46
8.1.80.0040.00417.41
8.1.70.0000.01017.44
8.1.60.0040.00417.57
8.1.50.0040.00417.51
8.1.40.0070.00317.42
8.1.30.0000.01217.69
8.1.20.0040.00417.62
8.1.10.0040.00417.55
8.1.00.0040.00417.52
8.0.300.0040.00418.77
8.0.290.0070.00017.18
8.0.280.0070.00018.36
8.0.270.0040.00417.25
8.0.260.0060.00017.26
8.0.250.0070.00017.00
8.0.240.0000.00716.84
8.0.230.0030.00316.82
8.0.220.0070.00016.86
8.0.210.0030.00316.92
8.0.200.0040.00417.00
8.0.190.0030.00316.93
8.0.180.0000.00716.85
8.0.170.0000.00716.79
8.0.160.0030.00316.86
8.0.150.0000.00716.83
8.0.140.0000.00816.86
8.0.130.0030.00313.29
8.0.120.0030.00616.84
8.0.110.0040.00416.78
8.0.100.0000.00816.88
8.0.90.0000.00716.93
8.0.80.0150.00016.88
8.0.70.0080.00016.75
8.0.60.0070.00016.85
8.0.50.0050.00316.77
8.0.30.0110.00817.11
8.0.20.0100.01017.40
8.0.10.0040.00416.85
8.0.00.0050.01316.74
7.4.330.0000.00515.20
7.4.320.0030.00316.53
7.4.300.0030.00316.48
7.4.290.0030.00316.61
7.4.280.0000.00716.63
7.4.270.0000.00816.62
7.4.260.0030.00316.61
7.4.250.0000.00716.38
7.4.240.0000.00716.51
7.4.230.0070.00016.56
7.4.220.0110.01116.41
7.4.210.0040.01116.56
7.4.200.0070.00016.28
7.4.190.0070.00016.50
7.4.160.0000.01516.54
7.4.150.0060.01217.40
7.4.140.0090.00817.86
7.4.130.0060.01016.51
7.4.120.0090.00816.43
7.4.110.0090.01216.47
7.4.100.0110.01016.43
7.4.90.0040.01916.43
7.4.80.0120.00919.39
7.4.70.0120.00416.50
7.4.60.0130.00316.59
7.4.50.0000.00516.46
7.4.40.0150.00616.23
7.4.30.0130.00616.38
7.4.00.0110.00414.74
7.3.330.0000.00613.05
7.3.320.0030.00313.16
7.3.310.0030.00316.10
7.3.300.0000.00816.24
7.3.290.0110.00316.15
7.3.280.0100.01016.18
7.3.270.0070.01017.40
7.3.260.0100.00616.44
7.3.250.0080.00816.46
7.3.240.0030.01516.54
7.3.230.0110.00516.52
7.3.210.0080.00816.46
7.3.200.0160.00519.39
7.3.190.0090.00916.41
7.3.180.0080.00816.31
7.3.170.0090.00616.49
7.3.160.0050.01016.39
7.3.120.0000.01415.00
7.2.330.0110.00716.45
7.2.320.0120.00416.59
7.2.310.0040.01216.71
7.2.300.0080.01116.25
7.2.290.0120.00616.61
7.2.60.0060.00616.83
7.2.00.0110.00419.47
7.1.200.0060.00315.88
7.1.100.0000.01318.14
7.1.70.0000.00817.09
7.1.60.0080.00317.18
7.1.50.0030.01716.84
7.1.00.0130.06722.25
7.0.200.0000.01116.80
7.0.140.0000.07322.21
7.0.60.0100.06719.87
7.0.50.0070.03717.86
7.0.40.0170.03320.03
7.0.30.0200.03720.02
7.0.20.0270.07720.30
7.0.10.0070.09020.00
7.0.00.0170.07320.12
5.6.280.0030.07320.81
5.6.210.0200.06720.46
5.6.200.0070.07318.18
5.6.190.0000.09020.27
5.6.180.0370.04320.57
5.6.170.0200.04320.41
5.6.160.0070.06020.38
5.6.150.0100.07018.20
5.6.140.0030.04018.12
5.6.130.0030.04718.12
5.6.120.0070.08321.01
5.6.110.0170.06721.08
5.6.100.0130.04321.07
5.6.90.0130.04320.95
5.6.80.0100.05320.34
5.5.350.0230.04020.51
5.5.340.0030.04317.89
5.5.330.0100.06320.36
5.5.320.0070.07720.35
5.5.310.0170.04320.21
5.5.300.0030.08317.94
5.5.290.0100.05017.98
5.5.280.0170.08020.73
5.5.270.0000.04320.73
5.5.260.0100.06320.81
5.5.250.0070.07020.67
5.5.240.0070.07720.21
5.4.450.0130.05719.48
5.4.440.1200.04319.66
5.4.430.1070.05319.59
5.4.420.1030.05019.34
5.4.410.0930.05319.27
5.4.400.1100.05019.12
5.4.390.1100.05019.25
5.4.380.0170.04718.74
5.4.370.0070.06018.58
5.4.360.0030.05718.63
5.4.350.0130.05718.58
5.4.340.0200.04718.72
5.4.320.0070.03512.45
5.4.310.0090.05312.45
5.4.300.0070.03812.45
5.4.290.0090.05112.45
5.4.280.0120.07212.35
5.4.270.0110.04512.34
5.4.260.0060.04512.35
5.4.250.0060.04512.34
5.4.240.0060.04112.35
5.4.230.0110.05212.34
5.4.220.0140.05912.34
5.4.210.0220.06712.34
5.4.200.0160.05112.34
5.4.190.0110.04412.34
5.4.180.0070.04812.34
5.4.170.0150.04412.35
5.4.160.0220.06412.34
5.4.150.0190.05812.34
5.4.140.0100.05712.02
5.4.130.0150.04712.01
5.4.120.0130.06211.97
5.4.110.0100.03611.96
5.4.100.0100.04711.96
5.4.90.0180.06011.96
5.4.80.0160.08311.96
5.4.70.0150.04911.96
5.4.60.0110.04611.96
5.4.50.0140.05011.96
5.4.40.0100.04811.95
5.4.30.0120.04511.95
5.4.20.0110.04911.94
5.4.10.0080.04311.95
5.4.00.0090.04811.43
5.3.290.0060.04212.80
5.3.280.0080.04812.71
5.3.270.0060.04412.72
5.3.260.0110.05012.72
5.3.250.0080.04012.72
5.3.240.0070.03712.72
5.3.230.0070.03812.71
5.3.220.0120.04512.68
5.3.210.0070.04012.68
5.3.200.0090.05312.68
5.3.190.0080.05312.68
5.3.180.0120.03212.67
5.3.170.0120.03412.67
5.3.160.0100.04412.67
5.3.150.0090.04912.67
5.3.140.0070.03712.66
5.3.130.0110.05212.66
5.3.120.0090.04412.66
5.3.110.0170.05512.66
5.3.100.0070.04012.12
5.3.90.0080.04112.08
5.3.80.0070.05412.07
5.3.70.0120.05112.07
5.3.60.0120.04912.06
5.3.50.0080.05512.00
5.3.40.0100.05212.00
5.3.30.0070.05011.94
5.3.20.0100.05611.72
5.3.10.0080.05411.69
5.3.00.0090.03711.68
5.2.170.0100.0319.18
5.2.160.0050.0319.18
5.2.150.0080.0319.18
5.2.140.0120.0369.18
5.2.130.0040.0329.14
5.2.120.0090.0389.13
5.2.110.0120.0469.14
5.2.100.0080.0329.14
5.2.90.0090.0339.14
5.2.80.0090.0399.13
5.2.70.0100.0619.13
5.2.60.0070.0569.09
5.2.50.0130.0409.05
5.2.40.0060.0449.04
5.2.30.0090.0469.01
5.2.20.0060.0409.00
5.2.10.0120.0248.92
5.2.00.0060.0298.78
5.1.60.0050.0248.06
5.1.50.0090.0308.05
5.1.40.0050.0358.04
5.1.30.0060.0378.39
5.1.20.0090.0348.41
5.1.10.0130.0328.14
5.1.00.0110.0448.14
5.0.50.0070.0316.61
5.0.40.0070.0276.47
5.0.30.0070.0406.29
5.0.20.0090.0166.26
5.0.10.0000.0256.24
5.0.00.0050.0316.23
4.4.90.0030.0174.78
4.4.80.0020.0184.75
4.4.70.0020.0174.75
4.4.60.0030.0164.76
4.4.50.0050.0174.77
4.4.40.0030.0294.71
4.4.30.0010.0184.76
4.4.20.0050.0144.84
4.4.10.0030.0164.85
4.4.00.0030.0254.76
4.3.110.0040.0154.67
4.3.100.0030.0164.66
4.3.90.0020.0164.64
4.3.80.0040.0234.58
4.3.70.0010.0174.63
4.3.60.0050.0144.63
4.3.50.0020.0164.63
4.3.40.0010.0274.54
4.3.30.0020.0173.28
4.3.20.0020.0163.25
4.3.10.0020.0203.22
4.3.00.0100.02016.17

preferences:
73.37 ms | 401 KiB | 5 Q