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.40.0100.00718.83
8.3.30.0140.00019.09
8.3.20.0000.00720.38
8.3.10.0080.00021.89
8.3.00.0060.00319.38
8.2.170.0120.00322.96
8.2.160.0100.00320.44
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0050.00326.16
8.2.120.0080.00022.23
8.2.110.0110.00722.01
8.2.100.0090.00318.03
8.2.90.0040.00419.20
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0050.00319.41
8.2.50.0040.00418.07
8.2.40.0080.00020.01
8.2.30.0080.00018.00
8.2.20.0000.00817.74
8.2.10.0040.00417.97
8.2.00.0090.00317.72
8.1.270.0050.00323.99
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0040.00423.65
8.1.230.0080.00419.15
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0060.00317.00
8.1.190.0080.00017.22
8.1.180.0030.00618.10
8.1.170.0040.00418.72
8.1.160.0070.00021.92
8.1.150.0000.00818.63
8.1.140.0000.00717.38
8.1.130.0000.00617.88
8.1.120.0000.00817.41
8.1.110.0050.00317.41
8.1.100.0000.01017.28
8.1.90.0000.00717.43
8.1.80.0000.00717.41
8.1.70.0070.00017.41
8.1.60.0060.00317.54
8.1.50.0000.00817.43
8.1.40.0020.00517.52
8.1.30.0040.00417.43
8.1.20.0050.00317.57
8.1.10.0070.00017.47
8.1.00.0000.00717.48
8.0.300.0040.00420.64
8.0.290.0000.00717.18
8.0.280.0000.00718.50
8.0.270.0070.00017.16
8.0.260.0000.00617.31
8.0.250.0040.00416.86
8.0.240.0030.00316.98
8.0.230.0000.00816.86
8.0.220.0070.00016.89
8.0.210.0060.00316.93
8.0.200.0030.00316.80
8.0.190.0050.00316.95
8.0.180.0070.00016.82
8.0.170.0090.00016.82
8.0.160.0030.00316.95
8.0.150.0000.00816.75
8.0.140.0040.00416.76
8.0.130.0000.00613.29
8.0.120.0040.00416.88
8.0.110.0050.00216.71
8.0.100.0080.00016.75
8.0.90.0000.00716.90
8.0.80.0090.01216.79
8.0.70.0000.00716.86
8.0.60.0070.00016.88
8.0.50.0000.00816.84
8.0.30.0120.01116.75
8.0.20.0120.00917.40
8.0.10.0000.00716.87
8.0.00.0070.01116.93
7.4.330.0000.00515.00
7.4.320.0040.00416.35
7.4.300.0000.00716.36
7.4.290.0000.00716.45
7.4.280.0040.00416.54
7.4.270.0050.00316.54
7.4.260.0000.00816.45
7.4.250.0070.00016.55
7.4.240.0030.00316.51
7.4.230.0030.00316.30
7.4.220.0110.00616.53
7.4.210.0050.01016.38
7.4.200.0000.00716.52
7.4.190.0000.00716.54
7.4.160.0080.00816.55
7.4.150.0130.00917.40
7.4.140.0060.01117.86
7.4.130.0110.00516.50
7.4.120.0080.00916.65
7.4.110.0170.00016.38
7.4.100.0120.00616.48
7.4.90.0090.00616.47
7.4.80.0140.00719.39
7.4.70.0060.01016.39
7.4.60.0100.00716.43
7.4.50.0030.00616.55
7.4.40.0110.00722.77
7.4.30.0130.00316.50
7.4.10.0080.01014.82
7.4.00.0080.00814.94
7.3.330.0050.00012.91
7.3.320.0060.00013.06
7.3.310.0040.00416.27
7.3.300.0070.00016.24
7.3.290.0100.01016.24
7.3.280.0130.00516.18
7.3.270.0140.00717.40
7.3.260.0060.01016.54
7.3.250.0140.01016.35
7.3.240.0130.00316.31
7.3.230.0100.00716.39
7.3.210.0170.00416.49
7.3.200.0140.01119.39
7.3.190.0060.01016.33
7.3.180.0110.00416.49
7.3.170.0090.00616.27
7.3.160.0120.00416.37
7.3.130.0060.01014.77
7.3.120.0090.00814.62
7.3.110.0070.01114.77
7.3.100.0080.00814.67
7.3.90.0020.01114.87
7.3.80.0090.00714.86
7.3.70.0080.00314.80
7.3.60.0050.00814.66
7.3.50.0050.00714.60
7.3.40.0040.00914.61
7.3.30.0040.00914.73
7.3.20.0020.00916.60
7.3.10.0070.00716.60
7.3.00.0050.01016.56
7.2.330.0170.00016.54
7.2.320.0110.00816.56
7.2.310.0110.00616.51
7.2.300.0070.01416.30
7.2.290.0060.00916.33
7.2.260.0090.00914.96
7.2.250.0100.00814.84
7.2.240.0060.01014.98
7.2.230.0030.01314.84
7.2.220.0030.01214.73
7.2.210.0040.00814.95
7.2.200.0060.00914.83
7.2.190.0070.00614.71
7.2.180.0040.01214.80
7.2.170.0060.00914.87
7.2.160.0080.00515.07
7.2.150.0080.00816.78
7.2.140.0090.00616.70
7.2.130.0060.01016.81
7.2.120.0070.00716.82
7.2.110.0040.01016.79
7.2.100.0060.00616.84
7.2.90.0070.00616.80
7.2.80.0070.00716.87
7.2.70.0060.00716.66
7.2.60.0080.00516.71
7.2.50.0070.00716.90
7.2.40.0070.00616.69
7.2.30.0050.00816.76
7.2.20.0070.00616.83
7.2.10.0070.00716.67
7.2.00.0060.00717.22
7.1.330.0060.00815.73
7.1.320.0070.01015.69
7.1.310.0050.00615.46
7.1.300.0060.00715.63
7.1.290.0030.01015.73
7.1.280.0050.00815.67
7.1.270.0050.00715.72
7.1.260.0050.00915.70
7.1.250.0060.00815.59
7.1.240.0060.00715.49
7.1.230.0050.00715.59
7.1.220.0020.01315.59
7.1.210.0020.01015.45
7.1.200.0040.00715.53
7.1.190.0060.00615.71
7.1.180.0070.00515.74
7.1.170.0040.00715.62
7.1.160.0050.00815.49
7.1.150.0080.00615.63
7.1.140.0080.00415.56
7.1.130.0040.00815.71
7.1.120.0040.00915.69
7.1.110.0070.00715.63
7.1.100.0030.00716.25
7.1.90.0050.00615.67
7.1.80.0020.00815.73
7.1.70.0030.00716.06
7.1.60.0030.00916.64
7.1.50.0090.01020.39
7.1.40.0040.00815.50
7.1.30.0040.00815.54
7.1.20.0020.00915.67
7.1.10.0040.00815.52
7.1.00.0040.02617.24
7.0.330.0030.00915.18
7.0.320.0060.00415.41
7.0.310.0060.00715.23
7.0.300.0030.00915.46
7.0.290.0060.00515.29
7.0.280.0050.01115.41
7.0.270.0040.00515.37
7.0.260.0070.00615.41
7.0.250.0060.00515.41
7.0.240.0080.00415.33
7.0.230.0090.00315.39
7.0.220.0060.00815.22
7.0.210.0060.00715.43
7.0.200.0060.00715.66
7.0.190.0050.00915.35
7.0.180.0050.01115.38
7.0.170.0070.00715.29
7.0.160.0070.00315.24
7.0.150.0070.00515.24
7.0.140.0060.02217.07
7.0.130.0050.00515.29
7.0.120.0040.00815.43
7.0.110.0070.00615.36
7.0.100.0070.00615.28
7.0.90.0060.00615.34
7.0.80.0070.00715.16
7.0.70.0060.00415.44
7.0.60.0060.02716.55
7.0.50.0040.01716.06
7.0.40.0050.02415.05
7.0.30.0130.01615.06
7.0.20.0090.02515.09
7.0.10.0060.02415.07
7.0.00.0060.01815.13
5.6.400.0050.01014.00
5.6.390.0060.00314.63
5.6.380.0070.00514.33
5.6.370.0040.00714.59
5.6.360.0080.00514.51
5.6.350.0050.00814.34
5.6.340.0060.00514.29
5.6.330.0060.00814.41
5.6.320.0090.00414.27
5.6.310.0050.00714.32
5.6.300.0070.00614.32
5.6.290.0070.00614.34
5.6.280.0030.02515.86
5.6.270.0070.00614.46
5.6.260.0060.00714.41
5.6.250.0080.00514.34
5.6.240.0070.00514.45
5.6.230.0060.00614.42
5.6.220.0040.01014.31
5.6.210.0090.02115.73
5.6.200.0060.02515.29
5.6.190.0030.01815.80
5.6.180.0140.02015.82
5.6.170.0120.02415.95
5.6.160.0080.02215.72
5.6.150.0070.01715.27
5.6.140.0060.02615.33
5.6.130.0020.02915.25
5.6.120.0060.01616.18
5.6.110.0040.02715.97
5.6.100.0020.01816.07
5.6.90.0080.01415.89
5.6.80.0050.02615.74
5.6.70.0040.00914.34
5.6.60.0040.01114.09
5.6.50.0060.00914.39
5.6.40.0050.00914.29
5.6.30.0070.00614.26
5.6.20.0060.00914.23
5.6.10.0070.00714.18
5.6.00.0060.00714.13
5.5.380.0050.01013.06
5.5.370.0060.00613.28
5.5.360.0030.00613.38
5.5.350.0110.01715.02
5.5.340.0020.01814.54
5.5.330.0090.02215.02
5.5.320.0140.02215.03
5.5.310.0160.01815.02
5.5.300.0030.01514.47
5.5.290.0080.02414.58
5.5.280.0040.02715.15
5.5.270.0030.01515.21
5.5.260.0060.01615.11
5.5.250.0050.02115.02
5.5.240.0040.02414.99
5.5.230.0050.00813.23
5.5.220.0030.01013.18
5.5.210.0010.01213.35
5.5.200.0030.00713.13
5.5.190.0040.00813.19
5.5.180.0060.00713.18
5.5.170.0040.00913.08
5.5.160.0070.00513.23
5.5.150.0050.00813.23
5.5.140.0040.01013.26
5.5.130.0090.00513.12
5.5.120.0020.00813.23
5.5.110.0030.00813.12
5.5.100.0070.00513.24
5.5.90.0070.00413.33
5.5.80.0060.00813.20
5.5.70.0020.00813.20
5.5.60.0050.00413.21
5.5.50.0060.00813.01
5.5.40.0070.00513.05
5.5.30.0050.00813.16
5.5.20.0060.00613.00
5.5.10.0060.00713.08
5.5.00.0060.00813.08
5.4.450.0020.02513.64
5.4.440.0050.01613.67
5.4.430.0040.01913.69
5.4.420.0040.01613.65
5.4.410.0030.02513.64
5.4.400.0020.02513.61
5.4.390.0070.01813.61
5.4.380.0040.02113.59
5.4.370.0050.01813.51
5.4.360.0030.01813.62
5.4.350.0050.01613.57
5.4.340.0040.02413.57
5.4.330.0000.01011.81
5.4.320.0070.02213.53
5.4.310.0050.02413.59
5.4.300.0060.01213.65
5.4.290.0030.01713.62
5.4.280.0030.01513.60
5.4.270.0030.02513.60
5.4.260.0050.01413.56
5.4.250.0060.01913.55
5.4.240.0020.02113.66
5.4.230.0060.01813.60
5.4.220.0050.02013.57
5.4.210.0080.01913.60
5.4.200.0050.02113.57
5.4.190.0030.01713.58
5.4.180.0060.02513.54
5.4.170.0060.01613.60
5.4.160.0040.02313.60
5.4.150.0040.02413.53
5.4.140.0040.02512.89
5.4.130.0040.02012.88
5.4.120.0050.02012.92
5.4.110.0050.01612.88
5.4.100.0030.01312.88
5.4.90.0040.01312.95
5.4.80.0050.02212.92
5.4.70.0030.02412.86
5.4.60.0050.01512.92
5.4.50.0050.02212.84
5.4.40.0050.02112.96
5.4.30.0060.02012.89
5.4.20.0060.01712.88
5.4.10.0030.01612.88
5.4.00.0060.02412.81
5.3.290.0060.04412.88
5.3.280.0050.02612.84
5.3.270.0030.04112.83
5.3.260.0030.02612.87
5.3.250.0050.04212.86
5.3.240.0090.02712.78
5.3.230.0030.04112.85
5.3.220.0050.04012.92
5.3.210.0020.02512.89
5.3.200.0070.02312.84
5.3.190.0070.01812.91
5.3.180.0020.03212.78
5.3.170.0050.02312.84
5.3.160.0050.03612.83
5.3.150.0100.02512.83
5.3.140.0050.04112.85
5.3.130.0050.03712.84
5.3.120.0100.03812.82
5.3.110.0040.02312.82
5.3.100.0020.03412.50
5.3.90.0040.04112.57
5.3.80.0050.04012.64
5.3.70.0030.03012.51
5.3.60.0020.02812.58
5.3.50.0040.03412.55
5.3.40.0050.03512.57
5.3.30.0050.03812.45
5.3.20.0050.02312.40
5.3.10.0080.03012.33
5.3.00.0060.03112.38
5.2.170.0010.02411.15
5.2.160.0030.03411.10
5.2.150.0020.03211.14
5.2.140.0020.03011.14
5.2.130.0020.02011.11
5.2.120.0020.02211.05
5.2.110.0000.02411.14
5.2.100.0030.02911.22
5.2.90.0030.01711.14
5.2.80.0020.03511.05
5.2.70.0060.01811.13
5.2.60.0030.03811.02
5.2.50.0100.01311.13
5.2.40.0050.02511.02
5.2.30.0070.03011.00
5.2.20.0030.02311.07
5.2.10.0070.03211.02
5.2.00.0000.03010.99
5.1.60.0050.01510.51
5.1.50.0070.02210.59
5.1.40.0050.02810.56
5.1.30.0050.02410.69
5.1.20.0030.02910.77
5.1.10.0020.01810.67
5.1.00.0050.02710.67
5.0.50.0030.0159.90
5.0.40.0030.0249.83
5.0.30.0000.0349.74
5.0.20.0040.0239.70
5.0.10.0040.0189.69
5.0.00.0080.0219.75
4.4.90.0020.0179.50
4.4.80.0020.0209.50
4.4.70.0050.0179.50
4.4.60.0020.0209.50
4.4.50.0030.0179.50
4.4.40.0000.0309.50
4.4.30.0020.0159.50
4.4.20.0050.0119.50
4.4.10.0020.0189.50
4.4.00.0020.0259.50
4.3.110.0020.0179.50
4.3.100.0000.0169.50
4.3.90.0030.0169.50
4.3.80.0030.0279.50
4.3.70.0030.0179.50
4.3.60.0060.0129.50
4.3.50.0020.0129.50
4.3.40.0020.0259.50
4.3.30.0030.0119.50
4.3.20.0000.0209.50
4.3.10.0010.0159.50
4.3.00.0030.0209.50

preferences:
51.25 ms | 400 KiB | 5 Q