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.60.0180.00016.63
8.3.50.0070.01221.99
8.3.40.0140.00318.71
8.3.30.0110.00319.01
8.3.20.0070.00020.00
8.3.10.0050.00320.65
8.3.00.0040.00419.50
8.2.180.0080.00818.66
8.2.170.0100.01022.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0080.00021.01
8.2.110.0060.00320.34
8.2.100.0060.00617.78
8.2.90.0040.00419.02
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0000.00817.66
8.2.50.0000.00818.07
8.2.40.0030.00518.03
8.2.30.0040.00419.50
8.2.20.0040.00417.75
8.2.10.0000.00818.16
8.2.00.0020.00517.66
8.1.280.0070.00725.92
8.1.270.0090.00022.10
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.01023.90
8.1.230.0050.00523.82
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00717.22
8.1.190.0050.00317.13
8.1.180.0060.00318.10
8.1.170.0030.00518.46
8.1.160.0040.00421.96
8.1.150.0040.00418.83
8.1.140.0040.00417.43
8.1.130.0020.00517.71
8.1.120.0070.00017.29
8.1.110.0030.00817.31
8.1.100.0030.00317.45
8.1.90.0000.00717.29
8.1.80.0040.00417.43
8.1.70.0000.00817.29
8.1.60.0060.00317.57
8.1.50.0030.00617.55
8.1.40.0040.00417.54
8.1.30.0040.00417.58
8.1.20.0060.00317.63
8.1.10.0000.00817.61
8.1.00.0030.00617.44
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.26
8.0.270.0000.00717.16
8.0.260.0000.00617.25
8.0.250.0030.00316.86
8.0.240.0060.00016.89
8.0.230.0000.00616.86
8.0.220.0050.00216.77
8.0.210.0000.00717.00
8.0.200.0000.00717.00
8.0.190.0070.00016.83
8.0.180.0000.00716.86
8.0.170.0050.00216.88
8.0.160.0040.00316.79
8.0.150.0000.00716.81
8.0.140.0050.00216.86
8.0.130.0030.00313.36
8.0.120.0000.00816.92
8.0.110.0040.00416.79
8.0.100.0000.00716.98
8.0.90.0040.00416.94
8.0.80.0040.01116.82
8.0.70.0050.00216.89
8.0.60.0050.00216.79
8.0.50.0000.00716.79
8.0.30.0130.00717.12
8.0.20.0170.00817.40
8.0.10.0040.00417.03
8.0.00.0140.00616.82
7.4.330.0020.00215.00
7.4.320.0000.00616.47
7.4.300.0000.00716.41
7.4.290.0000.00716.50
7.4.280.0000.00716.56
7.4.270.0030.00316.44
7.4.260.0030.00516.56
7.4.250.0040.00416.53
7.4.240.0040.00316.53
7.4.230.0000.00716.54
7.4.220.0150.00416.67
7.4.210.0120.00316.50
7.4.200.0070.00016.48
7.4.160.0120.00916.47
7.4.150.0100.01317.40
7.4.140.0060.01417.86
7.4.130.0190.01416.49
7.4.120.0060.01116.59
7.4.110.0170.00016.39
7.4.100.0030.01316.64
7.4.90.0060.01216.49
7.4.80.0090.01019.39
7.4.70.0100.00716.64
7.4.60.0070.01416.52
7.4.50.0050.00316.26
7.4.40.0080.00816.72
7.4.30.0100.00916.56
7.4.10.0040.01615.14
7.4.00.0090.00815.02
7.3.330.0040.00313.13
7.3.320.0030.00313.06
7.3.310.0040.00416.25
7.3.300.0030.00316.24
7.3.290.0100.00316.18
7.3.280.0090.00816.27
7.3.270.0090.00917.40
7.3.260.0130.00716.52
7.3.250.0140.00316.38
7.3.240.0110.00716.45
7.3.230.0100.00916.39
7.3.210.0090.00916.39
7.3.200.0100.00819.39
7.3.190.0110.00516.20
7.3.180.0060.00916.38
7.3.170.0030.01316.32
7.3.160.0080.00816.25
7.3.130.0130.00714.81
7.3.120.0060.00614.86
7.3.110.0140.00314.85
7.3.100.0060.01014.52
7.3.90.0140.00414.96
7.3.80.0030.01214.48
7.3.70.0070.00714.79
7.3.60.0070.00714.84
7.3.50.0040.00814.41
7.3.40.0050.00314.57
7.3.30.0070.00714.61
7.3.20.0030.00916.34
7.3.10.0090.00316.51
7.3.00.0030.01216.50
7.2.330.0140.00316.66
7.2.320.0060.01216.68
7.2.310.0060.01216.43
7.2.300.0130.00316.21
7.2.290.0130.00316.49
7.2.260.0070.01115.05
7.2.250.0040.01515.05
7.2.240.0070.00714.88
7.2.230.0070.01114.98
7.2.220.0090.00614.98
7.2.210.0090.00015.00
7.2.200.0100.00714.91
7.2.190.0100.00315.03
7.2.180.0070.00715.01
7.2.170.0070.00414.60
7.2.160.0040.00714.94
7.2.150.0070.00716.85
7.2.140.0060.01016.65
7.2.130.0060.00616.95
7.2.120.0040.01116.55
7.2.110.0110.00416.45
7.2.100.0060.00916.49
7.2.90.0070.01016.85
7.2.80.0070.00716.76
7.2.70.0040.00716.92
7.2.60.0060.00916.77
7.2.50.0050.00916.89
7.2.40.0040.01216.51
7.2.30.0070.00716.69
7.2.20.0080.00616.78
7.2.10.0080.00816.88
7.2.00.0030.01018.07
7.1.330.0080.00415.74
7.1.320.0080.00815.37
7.1.310.0040.00815.34
7.1.300.0070.01015.34
7.1.290.0000.01215.75
7.1.280.0030.01015.64
7.1.270.0030.01015.53
7.1.260.0000.01015.41
7.1.250.0070.00715.38
7.1.240.0100.00315.35
7.1.230.0140.00015.68
7.1.220.0080.00415.36
7.1.210.0000.01615.45
7.1.200.0010.00915.54
7.1.190.0080.00615.34
7.1.180.0000.01015.48
7.1.170.0060.01015.76
7.1.160.0040.01115.72
7.1.150.0000.01415.50
7.1.140.0090.00615.58
7.1.130.0120.00015.47
7.1.120.0040.01115.64
7.1.110.0070.00315.73
7.1.100.0030.01315.57
7.1.90.0040.00415.71
7.1.80.0040.01115.71
7.1.70.0040.00816.21
7.1.60.0050.01217.62
7.1.50.0030.01516.11
7.1.40.0060.00615.60
7.1.30.0030.01015.68
7.1.20.0100.00715.67
7.1.10.0070.01015.63
7.1.00.0030.04318.92
7.0.330.0040.00415.35
7.0.320.0030.01015.43
7.0.310.0090.00315.20
7.0.300.0040.01115.34
7.0.290.0040.00715.32
7.0.280.0000.00915.33
7.0.270.0030.00915.35
7.0.260.0040.00715.20
7.0.250.0000.01215.21
7.0.240.0030.00915.26
7.0.230.0090.00615.00
7.0.220.0040.01115.39
7.0.210.0030.00915.15
7.0.200.0140.00315.12
7.0.190.0130.00015.43
7.0.180.0070.00715.25
7.0.170.0000.01315.24
7.0.160.0060.00315.33
7.0.150.0080.00815.39
7.0.140.0030.04218.65
7.0.130.0030.00615.30
7.0.120.0050.00315.43
7.0.110.0070.00715.43
7.0.100.0000.01415.39
7.0.90.0060.00315.09
7.0.80.0040.00415.33
7.0.70.0080.04417.67
7.0.60.0110.03817.71
7.0.50.0050.03917.87
7.0.40.0070.04716.74
7.0.30.0140.04116.77
7.0.20.0050.03216.72
7.0.10.0100.04116.74
7.0.00.0050.04716.63
5.6.400.0090.00313.98
5.6.390.0070.00714.10
5.6.380.0030.01013.86
5.6.370.0090.00614.21
5.6.360.0080.00814.24
5.6.350.0050.00314.19
5.6.340.0080.00314.34
5.6.330.0030.01014.11
5.6.320.0090.00314.25
5.6.310.0040.00714.11
5.6.300.0060.01013.85
5.6.290.0030.01013.99
5.6.280.0030.04317.41
5.6.270.0060.00614.14
5.6.260.0040.01214.29
5.6.250.0080.00814.29
5.6.240.0040.00714.21
5.6.230.0000.01214.47
5.6.220.0060.04717.25
5.6.210.0030.04817.38
5.6.200.0100.04517.47
5.6.190.0070.04217.46
5.6.180.0030.03917.58
5.6.170.0120.04017.51
5.6.160.0030.04817.67
5.6.150.0100.03017.55
5.6.140.0050.04717.56
5.6.130.0030.04717.61
5.6.120.0070.04317.62
5.6.110.0100.04317.70
5.6.100.0090.04317.52
5.6.90.0050.04717.64
5.6.80.0080.03817.30
5.6.70.0040.04417.24
5.6.60.0050.02517.16
5.6.50.0100.04417.35
5.6.40.0030.03817.32
5.6.30.0050.04417.13
5.6.20.0120.03217.04
5.6.10.0030.04517.27
5.6.00.0080.03817.17
5.5.380.0060.00614.13
5.5.370.0080.00414.11
5.5.360.0050.03017.21
5.5.350.0070.03317.36
5.5.340.0060.03617.57
5.5.330.0030.04617.43
5.5.320.0060.03917.67
5.5.310.0080.04217.63
5.5.300.0050.03117.44
5.5.290.0080.03917.58
5.5.280.0060.04117.35
5.5.270.0050.02817.44
5.5.260.0030.02817.43
5.5.250.0070.03717.46
5.5.240.0050.04717.18
5.5.230.0020.03417.29
5.5.220.0050.02517.20
5.5.210.0040.04617.27
5.5.200.0030.05417.25
5.5.190.0070.04317.06
5.5.180.0070.04417.01
5.5.170.0040.01113.87
5.5.160.0100.03517.25
5.5.150.0090.04217.15
5.5.140.0070.02817.24
5.5.130.0030.03017.21
5.5.120.0030.04717.15
5.5.110.0090.03917.24
5.5.100.0040.04016.97
5.5.90.0070.02817.09
5.5.80.0110.04017.17
5.5.70.0080.04217.08
5.5.60.0070.02717.06
5.5.50.0080.03017.00
5.5.40.0080.04317.01
5.5.30.0030.03617.09
5.5.20.0030.02617.14
5.5.10.0160.03617.12
5.5.00.0030.02517.05
5.4.450.0030.04115.84
5.4.440.0030.04515.88
5.4.430.0100.01915.85
5.4.420.0020.03415.77
5.4.410.0110.03815.78
5.4.400.0030.04015.70
5.4.390.0050.04315.69
5.4.380.0070.04215.55
5.4.370.0050.04215.70
5.4.360.0050.04515.70
5.4.350.0080.04015.66
5.4.340.0090.03515.71
5.4.330.0040.00412.29
5.4.320.0070.04415.54
5.4.310.0060.04015.59
5.4.300.0050.04315.66
5.4.290.0020.02515.70
5.4.280.0030.02815.61
5.4.270.0040.04315.70
5.4.260.0080.04015.66
5.4.250.0100.03815.67
5.4.240.0060.02615.59
5.4.230.0100.03315.67
5.4.220.0090.03615.67
5.4.210.0110.02915.76
5.4.200.0080.03915.71
5.4.190.0050.03615.66
5.4.180.0070.03415.64
5.4.170.0000.04315.69
5.4.160.0110.01815.61
5.4.150.0090.03715.60
5.4.140.0030.03814.29
5.4.130.0060.04014.32
5.4.120.0080.03314.33
5.4.110.0010.02514.26
5.4.100.0080.03614.27
5.4.90.0050.04114.31
5.4.80.0080.03314.24
5.4.70.0030.02314.34
5.4.60.0020.02414.22
5.4.50.0020.04514.24
5.4.40.0050.03814.32
5.4.30.0030.04314.24
5.4.20.0100.03314.29
5.4.10.0070.03814.23
5.4.00.0020.04414.04
5.3.290.0070.07714.61
5.3.280.0070.07714.55
5.3.270.0030.05014.48
5.3.260.0100.07314.54
5.3.250.0070.04314.46
5.3.240.0070.07314.59
5.3.230.0200.06314.57
5.3.220.0100.07314.55
5.3.210.0100.04714.52
5.3.200.0000.04014.40
5.3.190.0130.06714.54
5.3.180.0170.07014.42
5.3.170.0130.06014.53
5.3.160.0070.03714.55
5.3.150.0030.03714.52
5.3.140.0030.08314.56
5.3.130.0130.06314.38
5.3.120.0000.04714.40
5.3.110.0100.07314.37
5.3.100.0070.06313.94
5.3.90.0000.06013.87
5.3.80.0170.06313.78
5.3.70.0070.04713.88
5.3.60.0070.06713.98
5.3.50.0100.06313.71
5.3.40.0000.08013.80
5.3.30.0030.07313.82
5.3.20.0030.07713.69
5.3.10.0100.06313.41
5.3.00.0070.07713.41
5.2.170.0070.06012.27
5.2.160.0030.06012.27
5.2.150.0070.03712.27
5.2.140.0130.05312.27
5.2.130.0030.06012.27
5.2.120.0030.05712.27
5.2.110.0070.06312.27
5.2.100.0000.06712.27
5.2.90.0070.06312.27
5.2.80.0000.07012.27
5.2.70.0070.05712.27
5.2.60.0130.05012.27
5.2.50.0000.04712.27
5.2.40.0000.04312.27
5.2.30.0000.04712.27
5.2.20.0070.03012.27
5.2.10.0070.06012.27
5.2.00.0100.05712.27
5.1.60.0030.05312.27
5.1.50.0030.04312.27
5.1.40.0070.05312.27
5.1.30.0070.06012.27
5.1.20.0070.04312.27
5.1.10.0030.05712.27
5.1.00.0000.03312.27
5.0.50.0070.05012.27
5.0.40.0100.02312.27
5.0.30.0030.06712.27
5.0.20.0000.04712.27
5.0.10.0130.03012.27
5.0.00.0030.06712.27
4.4.90.0030.03012.27
4.4.80.0070.02012.27
4.4.70.0070.03012.27
4.4.60.0000.03312.27
4.4.50.0030.02712.27
4.4.40.0030.05312.27
4.4.30.0030.04012.27
4.4.20.0030.03712.27
4.4.10.0030.02312.27
4.4.00.0070.05012.27
4.3.110.0030.03312.27
4.3.100.0070.03312.27
4.3.90.0030.02712.27
4.3.80.0030.05312.27
4.3.70.0030.03312.27
4.3.60.0030.03312.27
4.3.50.0030.03012.27
4.3.40.0000.05312.27
4.3.30.0000.03312.27
4.3.20.0000.02712.27
4.3.10.0000.03712.27
4.3.00.0000.03312.27

preferences:
50.57 ms | 401 KiB | 5 Q