3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Get Smart - TV comedy debuted 1965 $agents = array("86" => "Don Adams", "99" => "Barbara Feldon", "8" => "Burt Mustin", "13" => "Dave Ketchum", "44" => "Victor French", "38" => "Angelique Pettyjohn"); echo "The secret agents and the actors who portrayed them:"; foreach ($agents as list( $agent,$actor ) ) { echo $actor, ' => ', $agent; }

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.0090.00618.41
8.3.50.0170.00521.19
8.3.40.0040.01118.78
8.3.30.0070.00719.00
8.3.20.0080.00020.38
8.3.10.0040.00422.10
8.3.00.0070.00322.47
8.2.180.0110.00416.75
8.2.170.0190.00322.96
8.2.160.0070.00721.11
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00519.61
8.2.110.0160.00320.52
8.2.100.0080.00418.03
8.2.90.0000.00819.23
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0030.00617.93
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0030.00618.13
8.2.20.0000.00717.71
8.2.10.0070.00019.39
8.2.00.0040.00417.79
8.1.280.0090.00925.92
8.1.270.0060.00322.24
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0040.00423.84
8.1.230.0080.00317.57
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00717.53
8.1.180.0000.00818.10
8.1.170.0060.00318.50
8.1.160.0050.00222.01
8.1.150.0040.00418.64
8.1.140.0020.00517.48
8.1.130.0000.00717.75
8.1.120.0040.00417.43
8.1.110.0050.00317.41
8.1.100.0000.00717.35
8.1.90.0000.00717.30
8.1.80.0040.00417.45
8.1.70.0030.00317.48
8.1.60.0000.01017.61
8.1.50.0070.00017.55
8.1.40.0070.00017.51
8.1.30.0070.00017.50
8.1.20.0060.00317.66
8.1.10.0040.00417.58
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0070.00018.50
8.0.270.0030.00317.16
8.0.260.0060.00016.73
8.0.250.0070.00016.86
8.0.240.0040.00417.01
8.0.230.0000.00717.03
8.0.220.0030.00316.89
8.0.210.0000.00716.79
8.0.200.0060.00016.92
8.0.190.0030.00516.93
8.0.180.0070.00016.88
8.0.170.0030.00516.74
8.0.160.0040.00416.79
8.0.150.0000.00716.85
8.0.140.0030.00316.88
8.0.130.0050.00013.40
8.0.120.0000.00816.82
8.0.110.0030.00516.80
8.0.100.0070.00016.66
8.0.90.0000.00716.79
8.0.80.0050.01016.93
8.0.70.0030.00516.72
8.0.60.0000.00816.85
8.0.50.0000.00716.86
8.0.30.0160.00317.18
8.0.20.0130.00717.40
8.0.10.0070.00017.02
8.0.00.0120.01016.90
7.4.330.0050.00015.20
7.4.320.0030.00516.64
7.4.300.0030.00316.47
7.4.290.0000.00716.40
7.4.280.0000.00716.58
7.4.270.0040.00416.48
7.4.260.0030.00616.55
7.4.250.0040.00416.54
7.4.240.0040.00316.50
7.4.230.0000.00716.50
7.4.220.0070.01116.60
7.4.210.0090.00516.49
7.4.200.0000.00816.59
7.4.190.0070.00016.69
7.4.160.0090.00616.79
7.4.150.0140.00317.40
7.4.140.0120.00617.86
7.4.130.0070.01016.47
7.4.120.0150.00216.49
7.4.110.0000.02116.47
7.4.100.0140.00316.60
7.4.90.0070.01016.58
7.4.80.0110.01419.39
7.4.70.0130.00316.54
7.4.60.0060.00916.34
7.4.50.0000.00416.43
7.4.40.0000.01322.77
7.4.30.0120.00316.58
7.4.00.0090.00714.91
7.3.330.0000.00513.30
7.3.320.0000.00513.05
7.3.310.0070.00016.44
7.3.300.0040.00316.27
7.3.290.0070.00716.28
7.3.280.0070.01016.29
7.3.270.0100.00717.40
7.3.260.0110.00616.40
7.3.250.0080.01316.35
7.3.240.0060.01116.41
7.3.230.0100.00716.59
7.3.210.0060.01016.63
7.3.200.0100.01319.39
7.3.190.0080.01116.36
7.3.180.0080.00716.22
7.3.170.0060.00916.49
7.3.160.0030.01316.34
7.3.120.0080.00714.76
7.3.110.0080.00814.96
7.3.100.0030.00914.89
7.3.90.0070.00714.77
7.3.80.0020.01414.88
7.3.70.0040.01014.70
7.3.60.0040.00914.93
7.3.50.0040.01114.85
7.3.40.0080.00714.66
7.3.30.0080.00814.79
7.3.20.0060.00316.63
7.3.10.0090.00616.69
7.3.00.0070.00816.60
7.2.330.0110.00716.68
7.2.320.0120.01216.64
7.2.310.0090.00616.70
7.2.300.0180.00316.64
7.2.290.0050.01116.59
7.2.250.0080.01015.01
7.2.240.0130.00515.17
7.2.230.0070.00815.16
7.2.220.0060.00815.09
7.2.210.0050.00715.13
7.2.200.0080.00815.15
7.2.190.0050.01115.01
7.2.180.0050.01014.96
7.2.170.0050.01115.13
7.2.60.0060.00616.90
7.2.00.0040.00819.31
7.1.330.0070.01015.88
7.1.320.0070.00815.65
7.1.310.0060.00515.98
7.1.300.0100.00515.89
7.1.290.0050.00715.79
7.1.280.0040.00915.92
7.1.270.0050.00715.93
7.1.260.0040.00815.76
7.1.200.0040.00815.80
7.1.100.0030.01018.12
7.1.70.0000.01317.05
7.1.60.0100.01319.82
7.1.50.0000.01617.02
7.1.00.0070.07322.44
7.0.200.0040.00816.79
7.0.140.0070.07022.21
7.0.60.0000.08719.93
7.0.50.0070.03717.91
7.0.40.0100.08719.90
7.0.30.0300.07320.09
7.0.20.0400.06720.33
7.0.10.0270.07020.12
7.0.00.0070.04020.09
5.6.280.0030.07320.99
5.6.210.0000.08320.52
5.6.200.0070.08718.13
5.6.190.0070.05320.39
5.6.180.3530.04320.41
5.6.170.0370.08020.69
5.6.160.0000.04320.37
5.6.150.0100.03718.12
5.6.140.0030.07718.07
5.6.130.0070.08718.15
5.6.120.0100.05020.98
5.6.110.0000.07320.97
5.6.100.0170.06320.98
5.6.90.0070.04320.98
5.6.80.0100.06020.35
5.6.70.0300.05020.53
5.5.350.0030.08720.38
5.5.340.0100.05317.92
5.5.330.0070.05020.46
5.5.320.0370.06020.31
5.5.310.0370.07320.19
5.5.300.0070.06718.00
5.5.290.0030.04017.95
5.5.280.0070.04020.73
5.5.270.0070.08720.73
5.5.260.0000.04320.97
5.5.250.0070.08720.69
5.5.240.0170.07020.22
5.4.450.0100.06719.52
5.4.440.0030.07719.47
5.4.430.0070.08019.64
5.4.420.0030.07319.59
5.4.410.0030.04719.23
5.4.400.0100.07019.09
5.4.390.0130.06018.99
5.4.380.0030.07319.13
5.4.370.0030.07019.22
5.4.360.0000.07019.24
5.4.350.0000.04318.95
5.4.340.0030.05019.07
5.4.320.0070.07319.06
5.4.310.0030.06719.20
5.4.300.0030.07018.94
5.4.290.0070.07019.22
5.4.280.0000.06319.33
5.4.270.0000.07719.22
5.4.260.0070.05718.87
5.4.250.0030.03719.18
5.4.240.0070.06319.07
5.4.230.0030.07019.14
5.4.220.0070.03718.84
5.4.210.0070.06319.05
5.4.200.0000.06319.22
5.4.190.0000.06319.21
5.4.180.0000.05718.84
5.4.170.0170.05718.98
5.4.160.0070.07319.11
5.4.150.0070.06318.83
5.4.140.0070.05316.43
5.4.130.0030.06716.50
5.4.120.0100.06316.43
5.4.110.0000.05016.41
5.4.100.0070.04316.45
5.4.90.0030.07316.56
5.4.80.0130.05716.52
5.4.70.0000.07016.54
5.4.60.0030.05016.43
5.4.50.0030.06316.25
5.4.40.0070.06716.16
5.4.30.0000.07716.37
5.4.20.0000.07316.46
5.4.10.0100.06016.48
5.4.00.0070.05315.90
5.3.290.0000.06714.75
5.3.280.0070.07314.56
5.3.270.0000.07314.46
5.3.260.0070.07714.66
5.3.250.0030.07714.46
5.3.240.0030.04014.59
5.3.230.0030.05714.56
5.3.220.0000.08014.51
5.3.210.0030.06014.52
5.3.200.0030.05014.43
5.3.190.0000.08014.45
5.3.180.0030.05714.40
5.3.170.0030.04714.61
5.3.160.0030.05714.66
5.3.150.0070.07314.61
5.3.140.0000.07714.50
5.3.130.0030.06714.43
5.3.120.0070.07714.39
5.3.110.0000.07714.48
5.3.100.0030.06714.09
5.3.90.0100.06313.88
5.3.80.0070.05713.95
5.3.70.0070.06013.82
5.3.60.0000.06314.05
5.3.50.0070.06013.92
5.3.40.0070.07313.90
5.3.30.0000.06713.74
5.3.20.0070.05713.54
5.3.10.0070.06313.75
5.3.00.0130.05313.64
5.2.170.0100.03712.16
5.2.160.0070.05712.16
5.2.150.0030.06012.16
5.2.140.0070.05312.16
5.2.130.0030.06012.16
5.2.120.0070.06012.16
5.2.110.0070.05712.16
5.2.100.0030.06312.16
5.2.90.0030.06012.16
5.2.80.0070.03712.16
5.2.70.0030.03712.16
5.2.60.0030.05312.16
5.2.50.0100.05312.16
5.2.40.0000.06312.16
5.2.30.0030.05012.16
5.2.20.0070.05712.16
5.2.10.0030.05312.16
5.2.00.0000.04712.16
5.1.60.0100.03012.16
5.1.50.0030.04312.16
5.1.40.0000.05712.16
5.1.30.0070.05712.16
5.1.20.0070.04712.16
5.1.10.0070.05312.16
5.1.00.0100.04012.16
5.0.50.0100.04012.16
5.0.40.0070.02312.16
5.0.30.0070.06012.16
5.0.20.0030.04312.16
5.0.10.0030.03312.16
5.0.00.0030.05012.16
4.4.90.0070.02712.16
4.4.80.0030.02712.16
4.4.70.0000.03712.16
4.4.60.0000.03012.16
4.4.50.0030.03012.16
4.4.40.0000.03312.16
4.4.30.0000.03712.16
4.4.20.0030.02712.16
4.4.10.0070.03012.16
4.4.00.0030.04012.16
4.3.110.0000.03312.16
4.3.100.0000.02712.16
4.3.90.0000.03712.16
4.3.80.0000.03712.16
4.3.70.0000.03312.16
4.3.60.0000.02012.16
4.3.50.0030.02012.16
4.3.40.0000.05012.16
4.3.30.0000.03712.16
4.3.20.0000.03012.16
4.3.10.0000.03312.16
4.3.00.0000.03712.16

preferences:
38.19 ms | 400 KiB | 5 Q