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"  ?>  - See more at: http://www.w3resource.com/php-exercises/php-array-exercises.php#sthash.Cki6YZpK.dpuf

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.40.0090.00618.45
8.3.30.0110.00418.96
8.3.20.0080.00020.21
8.3.10.0040.00423.67
8.3.00.0080.00017.50
8.2.170.0100.00322.96
8.2.160.0000.01420.22
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0030.01526.16
8.2.120.0040.00421.09
8.2.110.0030.00619.22
8.2.100.0040.00717.58
8.2.90.0070.00019.13
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0040.00417.68
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00717.92
8.2.20.0050.00217.54
8.2.10.0040.00417.84
8.2.00.0050.00217.52
8.1.270.0030.00523.97
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00322.29
8.1.230.0060.00621.10
8.1.220.0040.00418.77
8.1.210.0030.00618.87
8.1.200.0060.00317.10
8.1.190.0000.00816.97
8.1.180.0040.00418.10
8.1.170.0040.00418.37
8.1.160.0050.00221.92
8.1.150.0040.00418.74
8.1.140.0070.00017.19
8.1.130.0000.00717.68
8.1.120.0080.00017.28
8.1.110.0050.00317.30
8.1.100.0000.00717.22
8.1.90.0040.00417.37
8.1.80.0050.00217.21
8.1.70.0000.00717.20
8.1.60.0030.00617.50
8.1.50.0020.00517.41
8.1.40.0000.00817.40
8.1.30.0050.00317.42
8.1.20.0080.00017.53
8.1.10.0040.00417.45
8.1.00.0000.00717.39
8.0.300.0040.00420.02
8.0.290.0070.00016.63
8.0.280.0000.00718.33
8.0.270.0000.00717.16
8.0.260.0030.00317.13
8.0.250.0070.00016.81
8.0.240.0040.00416.85
8.0.230.0090.00016.73
8.0.220.0070.00016.80
8.0.210.0030.00316.76
8.0.200.0030.00316.68
8.0.190.0110.00016.75
8.0.180.0080.00016.74
8.0.170.0060.00316.80
8.0.160.0040.00416.84
8.0.150.0030.00316.74
8.0.140.0050.00216.70
8.0.130.0030.00313.33
8.0.120.0040.00416.61
8.0.110.0000.00816.80
8.0.100.0040.00416.58
8.0.90.0080.00016.74
8.0.80.0040.01116.79
8.0.70.0050.00316.55
8.0.60.0000.00816.57
8.0.50.0000.00816.75
8.0.30.0090.01416.95
8.0.20.0090.01017.40
8.0.10.0050.00216.86
8.0.00.0120.00616.63
7.4.330.0000.00515.02
7.4.320.0000.00616.34
7.4.300.0030.00316.47
7.4.290.0060.00016.37
7.4.280.0000.00816.43
7.4.270.0000.00716.47
7.4.260.0060.00016.44
7.4.250.0040.00416.43
7.4.240.0040.00416.40
7.4.230.0000.00716.57
7.4.220.0100.00716.40
7.4.210.0150.00616.36
7.4.200.0070.00016.48
7.4.160.0030.01316.51
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0080.00816.34
7.4.120.0170.00116.41
7.4.110.0030.01516.43
7.4.100.0140.00316.41
7.4.90.0090.00916.45
7.4.80.0160.00719.39
7.4.70.0090.01516.52
7.4.60.0040.01416.27
7.4.50.0050.00316.35
7.4.40.0100.01316.31
7.4.30.0060.00916.34
7.3.330.0000.00513.14
7.3.320.0000.00613.07
7.3.310.0060.00015.97
7.3.300.0030.00316.17
7.3.290.0110.00316.10
7.3.280.0080.00816.09
7.3.270.0140.00717.40
7.3.260.0150.00916.36
7.3.250.0080.01016.16
7.3.240.0100.00716.27
7.3.230.0100.00716.39
7.3.210.0130.00616.48
7.3.200.0000.01619.39
7.3.190.0130.00916.31
7.3.180.0000.01516.35
7.3.170.0040.01216.28
7.3.160.0070.01416.27
7.2.330.0120.00616.30
7.2.320.0090.00916.38
7.2.310.0070.01016.55
7.2.300.0000.01716.38
7.2.290.0030.01316.20
5.4.320.0230.04019.14
5.4.310.0300.07019.09
5.4.300.0370.06019.08
5.4.290.0300.03718.94
5.4.280.0230.07018.85
5.4.270.0270.06018.97
5.4.260.0230.07318.98
5.4.250.0300.07018.93
5.4.240.0200.05319.25
5.4.230.0270.07019.14
5.4.220.0170.05319.08
5.4.210.0270.05719.21
5.4.200.0300.06019.30
5.4.190.0330.06718.84
5.4.180.0300.06319.23
5.4.170.0230.07719.15
5.4.160.0300.06719.12
5.4.150.0330.04019.20
5.4.140.0300.07316.50
5.4.130.0300.06716.34
5.4.120.0330.06716.37
5.4.110.0330.06716.40
5.4.100.0270.05016.37
5.4.90.0300.06716.55
5.4.80.0230.03716.29
5.4.70.0270.06716.53
5.4.60.0370.04016.16
5.4.50.0230.03316.34
5.4.40.0270.04316.55
5.4.30.0270.06316.53
5.4.20.0300.04316.52
5.4.10.0330.06316.42
5.4.00.0300.04315.77

preferences:
38.51 ms | 400 KiB | 5 Q