3v4l.org

run code in 300+ PHP versions simultaneously
<?php //post url $url = "https://api.github.com/repos/php/web-bugs/pulls/31"; //set file_get_contents header info $opts = [ 'http' => [ 'ignore_errors' => '1', 'user_agent' => "bugs.php.net Pulltracker", ] ]; //initiate file_get_contents $context = stream_context_create($opts); //make request $content = file_get_contents($url); //decode response to array $response_array = json_decode($content); var_dump($response_array);

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.0100.01018.43
8.3.50.0110.01116.54
8.3.40.0070.01418.73
8.3.30.0090.00918.68
8.3.20.0050.00321.73
8.3.10.0000.00823.56
8.3.00.0090.00019.13
8.2.180.0060.00916.75
8.2.170.0040.01122.96
8.2.160.0090.00919.22
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00319.64
8.2.120.0080.00026.35
8.2.110.0040.00722.25
8.2.100.0040.00819.64
8.2.90.0000.00818.16
8.2.80.0080.00017.97
8.2.70.0040.00417.55
8.2.60.0000.00817.38
8.2.50.0000.00818.10
8.2.40.0080.00022.27
8.2.30.0000.00719.39
8.2.20.0000.00818.07
8.2.10.0040.00418.07
8.2.00.0040.00418.03
8.1.280.0120.00625.92
8.1.270.0040.00420.19
8.1.260.0140.00026.35
8.1.250.0080.00028.09
8.1.240.0000.01023.96
8.1.230.0090.00322.65
8.1.220.0090.00017.76
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0030.00617.23
8.1.180.0050.00318.10
8.1.170.0040.00418.74
8.1.160.0040.00418.76
8.1.150.0000.00719.09
8.1.140.0040.00417.65
8.1.130.0000.00720.20
8.1.120.0000.00817.38
8.1.110.0050.00217.34
8.1.100.0050.00217.40
8.1.90.0080.00317.30
8.1.80.0070.00017.35
8.1.70.0030.00317.42
8.1.60.0070.00317.53
8.1.50.0000.00817.36
8.1.40.0040.00417.39
8.1.30.0050.00317.57
8.1.20.0040.00417.45
8.1.10.0040.00417.47
8.1.00.0060.00317.46
8.0.300.0000.00821.94
8.0.290.0040.00416.63
8.0.280.0030.00318.51
8.0.270.0030.00317.19
8.0.260.0060.00016.77
8.0.250.0030.00317.08
8.0.240.0060.00316.91
8.0.230.0070.00017.07
8.0.220.0040.00416.88
8.0.210.0000.00716.91
8.0.200.0060.00016.96
8.0.190.0000.00716.97
8.0.180.0050.00316.93
8.0.170.0030.00616.88
8.0.160.0030.00516.98
8.0.150.0040.00416.88
8.0.140.0000.00716.93
8.0.130.0030.00313.38
8.0.120.0000.00916.95
8.0.110.0000.00816.85
8.0.100.0000.00716.95
8.0.90.0000.00816.88
8.0.80.0160.00616.95
8.0.70.0000.00716.93
8.0.60.0000.00817.01
8.0.50.0000.00816.79
8.0.30.0090.01117.09
8.0.20.0080.01117.40
8.0.10.0040.00417.07
8.0.00.0070.01016.71
7.4.330.0000.00615.55
7.4.320.0000.00716.41
7.4.300.0040.00416.42
7.4.290.0030.00316.47
7.4.280.0040.00416.59
7.4.270.0030.00316.37
7.4.260.0030.00316.52
7.4.250.0030.00516.43
7.4.240.0030.00316.36
7.4.230.0070.00016.54
7.4.220.0000.00716.44
7.4.210.0090.00416.51
7.4.200.0000.00716.56
7.4.160.0080.00916.43
7.4.140.0110.00717.86
7.4.130.0110.00716.38
7.4.120.0080.01216.47
7.4.110.0160.00016.45
7.4.100.0100.00616.44
7.4.90.0100.00716.41
7.4.80.0140.00919.39
7.4.70.0070.01116.47
7.4.60.0130.00316.39
7.4.50.0000.01516.45
7.4.40.0060.01016.55
7.4.00.0100.00614.87
7.3.330.0000.00512.98
7.3.320.0000.00613.18
7.3.310.0030.00316.29
7.3.300.0000.00716.30
7.3.290.0030.00316.28
7.3.280.0120.00716.35
7.3.260.0140.01116.28
7.3.240.0110.00616.29
7.3.230.0170.00016.25
7.3.210.0080.00816.34
7.3.200.0080.00816.22
7.3.190.0120.00916.50
7.3.180.0030.01316.33
7.3.170.0060.01016.49
7.3.160.0080.00816.36
7.3.120.0030.01014.66
7.3.110.0060.01214.77
7.3.100.0030.01214.92
7.3.90.0050.00514.66
7.3.80.0000.01014.71
7.3.70.0060.01014.73
7.3.60.0030.01014.56
7.3.50.0110.00014.80
7.3.40.0070.00314.73
7.3.30.0040.00414.56
7.3.20.0060.00616.61
7.3.10.0050.00916.56
7.3.00.0070.00516.39
7.2.330.0090.00916.47
7.2.320.0090.00916.56
7.2.310.0090.00816.36
7.2.300.0100.01316.55
7.2.290.0130.00916.59
7.2.250.0080.01114.80
7.2.240.0060.01014.80
7.2.230.0040.00415.11
7.2.220.0080.00814.91
7.2.210.0040.00715.02
7.2.200.0030.01014.85
7.2.190.0000.01715.03
7.2.180.0040.00714.63
7.2.170.0060.00315.02
7.2.130.0100.00316.98
7.2.120.0090.00316.87
7.2.110.0060.00616.66
7.2.100.0030.01016.55
7.2.90.0000.01416.93
7.2.80.0060.00616.85
7.2.70.0070.00716.82
7.2.60.0030.00616.85
7.2.50.0100.00516.66
7.2.40.0550.01217.18
7.2.30.0570.01217.29
7.2.20.0540.00817.10
7.2.10.0540.00917.20
7.2.00.0090.01017.03
7.1.330.0080.00615.81
7.1.320.0040.00715.63
7.1.310.0030.00915.48
7.1.300.0060.00615.67
7.1.290.0070.00715.69
7.1.280.0070.00415.72
7.1.270.0000.01415.75
7.1.260.0070.00715.67
7.1.250.0030.00715.91
7.1.200.0070.00715.52
7.1.160.1220.01316.66
7.1.150.0980.01316.51
7.1.140.0950.01416.64
7.1.130.1570.01516.86
7.1.120.0130.00917.25
7.1.110.0110.00816.35
7.1.100.0090.01116.01
7.1.90.0160.01016.66
7.1.80.1010.01616.52
7.1.70.0980.01515.42
7.1.60.1560.01733.29
7.1.50.1710.01633.43
7.1.40.1360.01832.75
7.1.30.1430.02132.91
7.1.20.1360.01933.29
7.1.10.1040.01814.85
7.1.00.0090.01415.00

preferences:
74.74 ms | 401 KiB | 5 Q