3v4l.org

run code in 300+ PHP versions simultaneously
<?php // create curl resource $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, "http://www.hacker.org/challenge/misc/minuteman.php"); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); echo("Output: \n".$output); // close curl resource to free up system resources curl_close($ch); ?>

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.0120.00618.55
8.3.50.0130.00517.36
8.3.40.0000.01618.88
8.3.30.0040.01118.85
8.3.20.0080.00018.77
8.3.10.0040.00420.67
8.3.00.0040.00417.50
8.2.180.0090.00616.75
8.2.170.0090.00622.96
8.2.160.0060.00922.26
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00819.82
8.2.110.0000.01021.13
8.2.100.0000.01117.91
8.2.90.0080.00019.27
8.2.80.0040.00418.04
8.2.70.0000.00817.38
8.2.60.0040.00417.92
8.2.50.0050.00318.07
8.2.40.0000.00718.03
8.2.30.0050.00217.99
8.2.20.0000.00717.51
8.2.10.0030.00517.68
8.2.00.0000.00717.70
8.1.280.0120.00625.92
8.1.270.0030.00624.66
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0090.00022.30
8.1.230.0110.00020.89
8.1.220.0080.00018.77
8.1.210.0030.00618.84
8.1.200.0100.00017.22
8.1.190.0030.00617.40
8.1.180.0080.00018.10
8.1.170.0040.00418.67
8.1.160.0070.00018.76
8.1.150.0040.00418.43
8.1.140.0000.00717.23
8.1.130.0070.00017.70
8.1.120.0070.00017.32
8.1.110.0020.00517.36
8.1.100.0040.00417.35
8.1.90.0040.00417.28
8.1.80.0050.00217.23
8.1.70.0030.00317.32
8.1.60.0040.00417.34
8.1.50.0040.00417.44
8.1.40.0000.00817.48
8.1.30.0030.00617.51
8.1.20.0060.00317.65
8.1.10.0040.00417.45
8.1.00.0000.00817.52
8.0.300.0080.00019.99
8.0.290.0000.00716.63
8.0.280.0040.00418.43
8.0.270.0000.00717.13
8.0.260.0030.00316.78
8.0.250.0050.00216.96
8.0.240.0090.00016.82
8.0.230.0000.00716.88
8.0.220.0030.00416.84
8.0.210.0000.00716.91
8.0.200.0000.00616.94
8.0.190.0000.00717.02
8.0.180.0000.00716.90
8.0.170.0030.00616.82
8.0.160.0000.00716.85
8.0.150.0040.00416.79
8.0.140.0080.00016.89
8.0.130.0030.00313.39
8.0.120.0040.00416.83
8.0.110.0000.00816.87
8.0.100.0040.00416.88
8.0.90.0040.00416.88
8.0.80.0000.01516.92
8.0.70.0000.00816.73
8.0.60.0040.00417.00
8.0.50.0050.00316.94
8.0.30.0080.01017.01
8.0.20.0100.01016.93
8.0.10.0040.00416.79
8.0.00.0120.00816.77
7.4.330.0060.00012.88
7.4.320.0060.00016.32
7.4.300.0030.00316.51
7.4.290.0000.00816.48
7.4.280.0050.00516.49
7.4.270.0060.00016.39
7.4.260.0040.00413.17
7.4.250.0040.00416.44
7.4.240.0030.00316.55
7.4.230.0070.00016.61
7.4.220.0120.01016.40
7.4.210.0060.01016.52
7.4.200.0040.00416.54
7.4.190.0070.00016.68
7.4.160.0120.00416.42
7.4.150.0120.00616.49
7.4.140.0080.01016.47
7.4.130.0050.01416.62
7.4.120.0080.00916.51
7.4.110.0090.00916.37
7.4.100.0000.01516.34
7.4.90.0110.00616.45
7.4.80.0130.00616.39
7.4.70.0100.00816.30
7.4.60.0030.01316.37
7.4.50.0020.00216.38
7.4.40.0000.01116.35
7.4.30.0100.00716.42
7.4.00.0000.00815.11
7.3.330.0000.00613.25
7.3.320.0000.00513.09
7.3.310.0000.00716.08
7.3.300.0040.00416.26
7.3.290.0070.00816.25
7.3.280.0090.01016.28
7.3.270.0170.00616.28
7.3.260.0100.00816.36
7.3.250.0090.00916.45
7.3.240.0070.01016.54
7.3.230.0080.00816.50
7.3.210.0150.00416.17
7.3.200.0100.01319.39
7.3.190.0150.00316.66
7.3.180.0070.01016.50
7.3.170.0060.01216.46
7.3.160.0090.01216.36
7.3.120.0060.00814.75
7.2.330.0030.01316.56
7.2.320.0140.00416.31
7.2.310.0210.00416.48
7.2.300.0090.00716.19
7.2.290.0100.00716.50
7.2.80.0040.00816.57
7.2.60.0100.00316.58
7.2.00.0070.00719.23
7.1.200.0030.01115.72
7.1.100.0040.00918.15
7.1.70.0030.00516.92
7.1.60.0060.01919.40
7.1.50.0040.01116.98
7.1.00.0030.07322.33
7.0.200.0040.00416.55
7.0.140.0000.07722.02
7.0.120.0030.07722.14
7.0.60.0070.08319.97
7.0.50.0030.06317.84
7.0.40.0030.08719.98
7.0.30.0200.04720.04
7.0.20.0230.08720.04
7.0.10.0200.07320.13
7.0.00.0000.04320.01
5.6.280.0000.07721.09
5.6.210.0070.07720.61
5.6.200.0200.07018.19
5.6.190.0030.04320.33
5.6.180.0170.04020.77
5.6.170.0300.07020.33
5.6.160.0070.07020.49
5.6.150.0100.08318.17
5.6.140.0100.04018.07
5.6.130.0000.04318.21
5.6.120.0170.07021.03
5.6.110.0130.08020.97
5.6.100.0030.08720.99
5.6.90.0100.08021.09
5.6.80.0030.08320.50
5.5.350.0270.07720.40
5.5.340.0030.06317.98
5.5.330.0070.04020.21
5.5.320.0330.07320.34
5.5.310.0130.05020.27
5.5.300.0070.04317.94
5.5.290.0070.08317.96
5.5.280.0070.04020.65
5.5.270.0070.08020.71
5.5.260.0030.05720.64
5.5.250.0170.06020.62
5.5.240.0070.06320.23
5.4.450.0130.05319.25
5.4.440.0200.06319.23
5.4.430.0070.04719.50
5.4.420.0030.05319.32
5.4.410.0130.06319.35
5.4.400.0000.05019.14
5.4.390.0130.06019.07
5.4.380.0070.07318.79
5.4.370.0130.07318.91
5.4.360.0030.04319.16
5.4.350.0100.07319.07
5.4.340.0130.04719.14
5.4.320.0030.08019.18
5.4.310.0030.07718.97
5.4.300.0130.04718.92
5.4.290.0070.07719.07
5.4.280.0100.04319.08
5.4.270.0000.07319.17
5.4.260.0100.04719.14
5.4.250.0030.06318.99
5.4.240.0070.07019.07
5.4.230.0130.06719.17
5.4.220.0070.08019.17
5.4.210.0100.04319.17
5.4.200.0070.08019.07
5.4.190.0030.06319.20
5.4.180.0100.05718.81
5.4.170.0130.04319.17
5.4.160.0070.04719.01
5.4.150.0030.08019.16
5.4.140.0100.06716.31
5.4.130.0070.05716.29
5.4.120.0070.06316.48
5.4.110.0070.07316.27
5.4.100.0130.06716.41
5.4.90.0100.07316.14
5.4.80.0170.06316.59
5.4.70.0070.04016.27
5.4.60.0100.06716.21
5.4.50.0070.07016.22
5.4.40.0130.07016.24
5.4.30.0130.04716.22
5.4.20.0070.03316.34
5.4.10.0000.07716.36
5.4.00.0070.04715.62
5.3.290.0130.05014.56
5.3.280.0200.04714.52
5.3.270.0170.06014.53
5.3.260.0030.04714.48
5.3.250.0030.07714.50
5.3.240.0030.05014.54
5.3.230.0130.07014.52
5.3.220.0100.07714.48
5.3.210.0100.07014.52
5.3.200.0070.07314.46
5.3.190.0100.07314.48
5.3.180.0030.08014.48
5.3.170.0130.07314.48
5.3.160.0030.07314.52
5.3.150.0030.07714.38
5.3.140.0000.06314.53
5.3.130.0030.07714.34
5.3.120.0030.04314.36
5.3.110.0000.04314.46
5.3.100.0130.06313.96
5.3.90.0130.06313.94
5.3.80.0100.05713.94
5.3.70.0030.07713.84
5.3.60.0070.03713.79
5.3.50.0000.04013.88
5.3.40.0070.07713.79
5.3.30.0030.08013.85
5.3.20.0070.07313.61
5.3.10.0130.05013.47
5.3.00.0170.06313.61
5.2.170.0030.03011.07
5.2.160.0070.05711.08
5.2.150.0070.04011.12
5.2.140.0030.04010.99
5.2.130.0030.05311.09
5.2.120.0030.07011.00
5.2.110.0070.06011.06
5.2.100.0070.06311.08
5.2.90.0070.06011.07
5.2.80.0030.04711.03
5.2.70.0070.04010.99
5.2.60.0030.06310.97
5.2.50.0000.06710.94
5.2.40.0070.06310.88
5.2.30.0070.04010.97
5.2.20.0030.03310.77
5.2.10.0100.02010.88
5.2.00.0030.02710.61
5.1.60.0070.0239.83
5.1.50.0030.02310.01
5.1.40.0030.02310.05
5.1.30.0070.02010.41
5.1.20.0030.02310.36
5.1.10.0030.0239.91
5.1.00.0000.0279.91
5.0.50.0000.0209.03
5.0.40.0030.0179.03
5.0.30.0000.0479.03
5.0.20.0000.0279.03
5.0.10.0030.0179.03
5.0.00.0000.0309.03
4.4.90.0000.0409.03
4.4.80.0030.0239.03
4.4.70.0000.0179.03
4.4.60.0030.0139.03
4.4.50.0030.0139.03
4.4.40.0000.0279.03
4.4.30.0030.0139.03
4.4.20.0000.0179.03
4.4.10.0070.0109.03
4.4.00.0000.0609.03
4.3.110.0000.0179.03
4.3.100.0070.0109.03
4.3.90.0000.0179.03
4.3.80.0000.0239.03
4.3.70.0000.0179.03
4.3.60.0000.0179.03
4.3.50.0030.0179.03
4.3.40.0030.0209.03
4.3.30.0000.0179.03
4.3.20.0000.0179.03
4.3.10.0000.0139.03
4.3.00.0000.0179.03

preferences:
50.58 ms | 401 KiB | 5 Q