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, false, $context); //decode response to array $responseObject = json_decode($content); var_dump($responseObject);

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.0110.01118.20
8.3.50.0100.01016.22
8.3.40.0070.01018.52
8.3.30.0040.01118.54
8.3.20.0080.00021.76
8.3.10.0060.00323.66
8.3.00.0040.00420.94
8.2.180.0030.01216.63
8.2.170.0090.00622.96
8.2.160.0070.00721.08
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00819.70
8.2.120.0080.00026.35
8.2.110.0080.00322.07
8.2.100.0070.00417.72
8.2.90.0040.00417.97
8.2.80.0000.00818.98
8.2.70.0080.00017.93
8.2.60.0050.00317.25
8.2.50.0040.00418.10
8.2.40.0000.00920.24
8.2.30.0080.00019.45
8.2.20.0040.00418.08
8.2.10.0070.00018.09
8.2.00.0040.00418.04
8.1.280.0070.01125.92
8.1.270.0000.00820.21
8.1.260.0090.00626.35
8.1.250.0040.00428.09
8.1.240.0070.01023.97
8.1.230.0070.00420.91
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.10
8.1.190.0040.00417.10
8.1.180.0030.00518.10
8.1.170.0000.00719.01
8.1.160.0070.00018.74
8.1.150.0070.00018.95
8.1.140.0000.00717.64
8.1.130.0000.00620.20
8.1.120.0080.00317.41
8.1.110.0040.00417.41
8.1.100.0020.00517.43
8.1.90.0030.00517.44
8.1.80.0070.00017.30
8.1.70.0000.00717.30
8.1.60.0030.00617.54
8.1.50.0000.00817.40
8.1.40.0080.00017.37
8.1.30.0040.00417.65
8.1.20.0050.00317.54
8.1.10.0040.00417.45
8.1.00.0000.00817.42
8.0.300.0060.00320.07
8.0.290.0040.00416.63
8.0.280.0000.00718.52
8.0.270.0060.00316.80
8.0.260.0060.00316.87
8.0.250.0000.00716.98
8.0.240.0090.00016.96
8.0.230.0000.00716.93
8.0.220.0030.00316.87
8.0.210.0030.00316.98
8.0.200.0000.00716.99
8.0.190.0000.00717.02
8.0.180.0040.00417.01
8.0.170.0030.00617.00
8.0.160.0030.00516.97
8.0.150.0020.00516.98
8.0.140.0030.00316.93
8.0.130.0060.00013.43
8.0.120.0000.00816.89
8.0.110.0000.00716.79
8.0.100.0020.00516.83
8.0.90.0040.00416.82
8.0.80.0090.00816.90
8.0.70.0000.00816.84
8.0.60.0000.00716.86
8.0.50.0040.00417.01
8.0.30.0100.00917.07
8.0.20.0100.00917.40
8.0.10.0050.00317.03
8.0.00.0110.01016.59
7.4.330.0030.00315.55
7.4.320.0040.00416.56
7.4.300.0000.00616.47
7.4.290.0070.00016.46
7.4.280.0030.00316.55
7.4.270.0070.00016.38
7.4.260.0030.00316.34
7.4.250.0050.00316.52
7.4.240.0000.00716.48
7.4.230.0070.00016.35
7.4.220.0000.00816.57
7.4.210.0110.00316.51
7.4.200.0070.00016.64
7.4.160.0110.00816.52
7.4.140.0110.00717.86
7.4.130.0120.00816.42
7.4.120.0090.01116.44
7.4.110.0070.01016.51
7.4.100.0070.01016.39
7.4.90.0070.01016.34
7.4.80.0000.02219.39
7.4.70.0090.00816.47
7.4.60.0060.01616.42
7.4.50.0040.01216.70
7.4.40.0130.00416.61
7.4.00.0040.01414.85
7.3.330.0020.00213.11
7.3.320.0030.00313.00
7.3.310.0000.00716.38
7.3.300.0000.00716.29
7.3.290.0040.00416.28
7.3.280.0090.00916.29
7.3.260.0100.01016.38
7.3.240.0070.01316.28
7.3.230.0110.00716.54
7.3.210.0110.01116.13
7.3.200.0120.00316.25
7.3.190.0100.01016.30
7.3.180.0130.00416.22
7.3.170.0150.00016.24
7.3.160.0080.00816.21
7.3.10.0050.00916.53
7.3.00.0080.00616.66
7.2.330.0060.01216.41
7.2.320.0150.00316.59
7.2.310.0070.01016.24
7.2.300.0060.01716.50
7.2.290.0060.01316.57
7.2.130.0080.00616.79
7.2.120.0010.01116.64
7.2.110.0060.00716.57
7.2.100.0060.00616.81
7.2.90.0050.00916.70
7.2.80.0080.00416.79
7.2.70.0040.01016.62
7.2.60.0100.00616.69
7.2.50.0070.00916.73
7.2.40.0380.01117.22
7.2.30.0400.00717.10
7.2.20.0360.00817.02
7.2.10.0300.00617.05
7.2.00.0240.00917.19
7.1.250.0050.00815.60
7.1.200.0060.00615.81
7.1.160.0780.00816.91
7.1.150.0930.01416.64
7.1.140.0630.01316.66
7.1.130.0600.00716.70
7.1.120.0650.01616.90
7.1.110.0830.01316.10
7.1.100.0670.01116.12
7.1.90.0790.01116.38
7.1.80.0870.01216.35
7.1.70.0660.00815.66
7.1.60.0980.01433.75
7.1.50.0860.01433.02
7.1.40.0850.01033.09
7.1.30.1180.01432.95
7.1.20.1320.01433.18
7.1.10.0830.01014.93
7.1.00.0820.01214.98

preferences:
59.74 ms | 401 KiB | 5 Q