3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Get Smart - TV comedy debuted 1965 $agents = array( array("86" => "Don Adams"), array("99" => "Barbara Feldon"), array("08" => "Burt Mustin"), array("13" => "Dave Ketchum"), array("44" => "Victor French"), array("38" => "Angelique Pettyjohn") ); echo "The secret agents and the actors who portrayed them:\n"; 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.0140.00016.75
8.3.50.0110.00617.39
8.3.40.0100.00718.84
8.3.30.0080.00618.89
8.3.20.0030.00518.73
8.3.10.0060.00320.48
8.3.00.0030.00619.26
8.2.180.0120.00616.63
8.2.170.0120.00322.96
8.2.160.0060.00920.87
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0070.00021.04
8.2.110.0090.00020.77
8.2.100.0040.00817.84
8.2.90.0030.00719.39
8.2.80.0040.00419.34
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0040.00418.07
8.2.40.0000.00918.16
8.2.30.0040.00418.16
8.2.20.0040.00717.74
8.2.10.0070.00017.70
8.2.00.0040.00417.82
8.1.280.0070.00725.92
8.1.270.0030.00623.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.51
8.1.230.0110.00021.03
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0090.00317.23
8.1.190.0040.00417.41
8.1.180.0050.00318.10
8.1.170.0040.00418.64
8.1.160.0050.00218.95
8.1.150.0080.00018.61
8.1.140.0040.00417.32
8.1.130.0070.00017.82
8.1.120.0040.00417.38
8.1.110.0050.00217.52
8.1.100.0040.00417.47
8.1.90.0000.00717.41
8.1.80.0000.00717.34
8.1.70.0030.00317.40
8.1.60.0060.00317.53
8.1.50.0040.00417.47
8.1.40.0040.00417.43
8.1.30.0040.00417.59
8.1.20.0030.00617.54
8.1.10.0080.00017.61
8.1.00.0000.00717.38
8.0.300.0040.00419.94
8.0.290.0070.00016.75
8.0.280.0000.00718.44
8.0.270.0030.00317.16
8.0.260.0030.00316.79
8.0.250.0050.00316.93
8.0.240.0050.00216.91
8.0.230.0000.00716.94
8.0.220.0000.00716.98
8.0.210.0000.00716.86
8.0.200.0070.00016.84
8.0.190.0030.00616.89
8.0.180.0060.00316.99
8.0.170.0000.00916.87
8.0.160.0030.00516.99
8.0.150.0040.00716.79
8.0.140.0030.00616.87
8.0.130.0030.00313.39
8.0.120.0030.00516.80
8.0.110.0040.00416.90
8.0.100.0040.00416.96
8.0.90.0030.00516.91
8.0.80.0130.00316.95
8.0.70.0000.00716.80
8.0.60.0060.00316.92
8.0.50.0050.00316.91
8.0.30.0100.00716.84
8.0.20.0160.01017.08
8.0.10.0000.00817.03
8.0.00.0070.01116.72
7.4.330.0030.00313.04
7.4.320.0000.00616.61
7.4.300.0030.00316.40
7.4.290.0060.00016.39
7.4.280.0070.00416.49
7.4.270.0030.00316.55
7.4.260.0000.00613.30
7.4.250.0030.00616.59
7.4.240.0030.00316.59
7.4.230.0070.00016.57
7.4.220.0100.00616.46
7.4.210.0080.00616.48
7.4.200.0070.00016.66
7.4.190.0070.00016.41
7.4.160.0090.00616.51
7.4.150.0130.00916.50
7.4.140.0190.00616.59
7.4.130.0050.01116.66
7.4.120.0070.01016.62
7.4.110.0140.00416.77
7.4.100.0080.00916.44
7.4.90.0070.01516.58
7.4.80.0140.00319.39
7.4.70.0000.01616.34
7.4.60.0130.00316.65
7.4.50.0030.00616.54
7.4.40.0030.01316.46
7.4.30.0080.01216.39
7.4.00.0060.01015.25
7.3.330.0030.00313.18
7.3.320.0030.00313.13
7.3.310.0000.00716.46
7.3.300.0070.00016.29
7.3.290.0090.00516.37
7.3.280.0120.00616.39
7.3.270.0120.01216.55
7.3.260.0090.00916.54
7.3.250.0140.00816.45
7.3.240.0150.01016.56
7.3.230.0140.00316.36
7.3.210.0100.00716.54
7.3.200.0120.00416.57
7.3.190.0070.01016.48
7.3.180.0120.00416.36
7.3.170.0060.00916.51
7.3.160.0070.01316.53
7.3.120.0040.01215.02
7.2.330.0070.01116.83
7.2.320.0080.00816.52
7.2.310.0070.01416.49
7.2.300.0060.01116.78
7.2.290.0090.00816.48
7.2.60.0340.00716.78
7.2.50.0090.00016.89
7.1.200.0070.00416.02
7.1.70.0070.00717.21
7.1.60.0040.01117.38
7.1.50.0040.01817.14
7.1.00.0070.07322.33
7.0.200.0040.01116.82
7.0.140.0030.07022.05
7.0.120.0070.07722.14
7.0.60.0100.08719.86
7.0.50.0100.07717.89
7.0.40.0070.09320.24
7.0.30.0530.06720.18
7.0.20.0200.05020.18
7.0.10.0100.08320.21
7.0.00.0070.08020.10
5.6.280.0030.07320.89
5.6.210.0170.07320.66
5.6.200.0130.07718.22
5.6.190.0030.09020.45
5.6.180.3470.03720.35
5.6.170.0270.06720.40
5.6.160.0030.09320.41
5.6.150.0100.05318.18
5.6.140.0030.08718.18
5.6.130.0030.04018.18
5.6.120.0030.08721.02
5.6.110.0070.06020.98
5.6.100.0100.08021.00
5.6.90.0170.07320.88
5.6.80.0070.03320.37
5.6.70.4100.03720.49
5.5.350.0030.07720.42
5.5.340.0070.08018.02
5.5.330.0170.05720.29
5.5.320.0200.08020.30
5.5.310.0330.07320.26
5.5.300.0030.06317.91
5.5.290.0100.03717.91
5.5.280.0000.07320.65
5.5.270.0070.08320.86
5.5.260.0100.08320.73
5.5.250.0070.08720.59
5.5.240.0270.07720.19
5.4.450.0100.07719.45
5.4.440.0030.04719.49
5.4.430.0100.03719.30
5.4.420.0070.04319.29
5.4.410.0000.05019.06
5.4.400.0000.04319.10
5.4.390.0030.07319.12
5.4.380.0070.08018.85
5.4.370.0100.04318.93
5.4.360.0030.04019.12
5.4.350.0030.04319.08
5.4.340.0070.04319.25
5.4.320.0030.05719.25
5.4.310.0170.05719.15
5.4.300.0030.07719.18
5.4.290.0070.06718.85
5.4.280.0100.07018.91
5.4.270.0100.07319.15
5.4.260.0070.04319.20
5.4.250.0070.03719.23
5.4.240.0030.04019.20
5.4.230.0100.03719.24
5.4.220.0070.04019.23
5.4.210.0070.03719.23
5.4.200.0100.06719.14
5.4.190.0100.03719.23
5.4.180.0130.03018.91
5.4.170.0070.03719.23
5.4.160.0070.03719.24
5.4.150.0070.05719.22
5.4.140.0130.04016.43
5.4.130.0030.04016.35
5.4.120.0070.03716.41
5.4.110.0170.06316.45
5.4.100.0170.06716.37
5.4.90.0030.08016.28
5.4.80.0070.03316.42
5.4.70.0130.02716.37
5.4.60.0030.04016.38
5.4.50.0070.03316.27
5.4.40.0030.03316.40
5.4.30.0100.03716.27
5.4.20.0000.03716.36
5.4.10.0070.04016.34
5.4.00.0000.04315.73
5.3.290.0030.04014.62
5.3.280.0000.04014.52
5.3.270.0070.04314.55
5.3.260.0000.05014.70
5.3.250.0030.04014.55
5.3.240.0130.07314.54
5.3.230.0070.04014.61
5.3.220.0100.04314.47
5.3.210.0100.06014.49
5.3.200.0030.06314.50
5.3.190.0100.04314.50
5.3.180.0070.05014.53
5.3.170.0030.04314.50
5.3.160.0030.03714.65
5.3.150.0000.04314.50
5.3.140.0000.04014.49
5.3.130.0030.03714.52
5.3.120.0070.03314.50
5.3.110.0070.03314.37
5.3.100.0030.03714.05
5.3.90.0030.05014.00
5.3.80.0070.03313.95
5.3.70.0000.03713.96
5.3.60.0000.03714.10
5.3.50.0100.03013.89
5.3.40.0000.03713.84
5.3.30.0000.03713.85
5.3.20.0000.03713.63
5.3.10.0000.04313.58
5.3.00.0030.03713.48
5.2.170.0000.03011.13
5.2.160.0100.02311.05
5.2.150.0030.02711.16
5.2.140.0030.03011.06
5.2.130.0000.03010.99
5.2.120.0070.03010.98
5.2.110.0030.02711.07
5.2.100.0030.02711.06
5.2.90.0000.03010.98
5.2.80.0030.02710.99
5.2.70.0000.03011.03
5.2.60.0000.03011.03
5.2.50.0000.03010.95
5.2.40.0030.03010.93
5.2.30.0000.03010.90
5.2.20.0070.02710.95
5.2.10.0000.03010.86
5.2.00.0100.02710.71
5.1.60.0030.0239.98
5.1.50.0070.0209.90
5.1.40.0100.01710.05
5.1.30.0000.02710.29
5.1.20.0030.02310.35
5.1.10.0000.0379.97
5.1.00.0070.0209.98
5.0.50.0000.0209.68
5.0.40.0000.0209.68
5.0.30.0030.0679.68
5.0.20.0030.0209.68
5.0.10.0030.0209.68
5.0.00.0100.0239.68
4.4.90.0000.0179.68
4.4.80.0000.0179.68
4.4.70.0070.0109.68
4.4.60.0000.0179.68
4.4.50.0030.0139.68
4.4.40.0000.0279.68
4.4.30.0070.0109.68
4.4.20.0030.0139.68
4.4.10.0030.0139.68
4.4.00.0000.0239.68
4.3.110.0000.0239.68
4.3.100.0000.0179.68
4.3.90.0030.0179.68
4.3.80.0000.0279.68
4.3.70.0030.0139.68
4.3.60.0070.0109.68
4.3.50.0070.0109.68
4.3.40.0000.0239.68
4.3.30.0000.0379.68
4.3.20.0000.0309.68
4.3.10.0000.0379.68
4.3.00.0000.0409.68

preferences:
43 ms | 401 KiB | 5 Q