3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://pokeapi.co/api/v1/game/1/"; $response = file_get_contents($url); echo $response;

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.00318.56
8.3.50.0260.00721.10
8.3.40.0100.00618.86
8.3.30.0110.00419.00
8.3.20.0030.00520.31
8.3.10.0080.00024.04
8.3.00.0080.00018.18
8.2.180.0200.00016.63
8.2.170.0140.00719.08
8.2.160.0130.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00317.61
8.2.110.0150.00322.37
8.2.100.0090.00318.09
8.2.90.0080.00019.30
8.2.80.0090.00017.97
8.2.70.0090.00017.50
8.2.60.0040.00418.17
8.2.50.0030.00518.07
8.2.40.0080.00021.38
8.2.30.0000.00820.80
8.2.20.0080.00017.84
8.2.10.0000.00818.37
8.2.00.0000.00818.18
8.1.280.0210.00325.92
8.1.270.0070.01024.09
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00322.72
8.1.230.0120.00021.14
8.1.220.0040.00417.91
8.1.210.0090.00018.77
8.1.200.0050.00517.25
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0070.00318.63
8.1.160.0000.00822.15
8.1.150.0000.00719.01
8.1.140.0050.00517.54
8.1.130.0040.00417.88
8.1.120.0040.00317.52
8.1.110.0040.00417.52
8.1.100.0000.00717.51
8.1.90.0000.00717.56
8.1.80.0000.00817.47
8.1.70.0030.00317.54
8.1.60.0040.00417.54
8.1.50.0030.00617.46
8.1.40.0080.00017.54
8.1.30.0000.00817.72
8.1.20.0040.00417.61
8.1.10.0030.00617.54
8.1.00.0000.00717.50
8.0.300.0000.00718.77
8.0.290.0000.00817.00
8.0.280.0000.00718.70
8.0.270.0040.00417.51
8.0.260.0080.00017.40
8.0.250.0000.00817.23
8.0.240.0050.00217.10
8.0.230.0040.00417.05
8.0.220.0040.00416.96
8.0.210.0000.00817.16
8.0.200.0060.00017.20
8.0.190.0000.00817.26
8.0.180.0060.00316.98
8.0.170.0040.00417.20
8.0.160.0040.00417.16
8.0.150.0000.00717.09
8.0.140.0000.00716.93
8.0.130.0030.00313.76
8.0.120.0000.00917.11
8.0.110.0000.00717.13
8.0.100.0040.00417.09
8.0.90.0100.00017.21
8.0.80.0070.01017.07
8.0.70.0040.00417.14
8.0.60.0000.00817.21
8.0.50.0060.00317.08
8.0.30.0110.00617.31
8.0.20.0090.01217.40
8.0.10.0080.00017.04
8.0.00.0120.00716.89
7.4.330.0060.00015.23
7.4.320.0000.00716.55
7.4.300.0030.00316.59
7.4.290.0070.00316.55
7.4.280.0020.00516.47
7.4.270.0000.00716.67
7.4.260.0040.00416.55
7.4.250.0040.00416.73
7.4.240.0040.00416.76
7.4.230.0040.00416.66
7.4.220.0160.00316.71
7.4.210.0030.01516.79
7.4.200.0000.00716.78
7.4.160.0090.00916.80
7.4.150.0110.00817.40
7.4.140.0090.01317.86
7.4.130.0120.00816.74
7.4.120.0140.00616.76
7.4.110.0110.00916.68
7.4.100.0090.00916.69
7.4.90.0030.01416.71
7.4.80.0130.00919.39
7.4.70.0000.01616.68
7.4.60.0120.00616.72
7.4.50.0030.00616.58
7.4.40.0030.01616.74
7.4.30.0040.01516.96
7.4.00.0090.00615.24
7.3.330.0000.00513.34
7.3.320.0030.00313.33
7.3.310.0040.00316.64
7.3.300.0080.00016.50
7.3.290.0080.00716.57
7.3.280.0070.01316.55
7.3.270.0040.01517.40
7.3.260.0180.00016.71
7.3.250.0090.00916.58
7.3.240.0090.01416.57
7.3.230.0100.00716.57
7.3.210.0130.00316.46
7.3.200.0140.00316.60
7.3.190.0150.00416.66
7.3.180.0030.01316.45
7.3.170.0140.00416.68
7.3.160.0050.01116.80
7.2.330.0090.00916.89
7.2.320.0190.00316.48
7.2.310.0180.00716.84
7.2.300.0190.00016.51
7.2.290.0030.01516.95
7.2.60.0030.01117.07
7.2.00.0000.01519.44
7.1.200.0030.00916.05
7.1.100.0070.00718.46
7.1.70.0000.00717.48
7.1.60.0170.00719.50
7.1.50.0100.00317.31
7.1.00.0070.07322.80
7.0.200.0140.00716.43
7.0.60.0070.08020.17
7.0.50.0030.08318.17
7.0.40.0270.06720.56
7.0.30.0200.04720.48
7.0.20.0170.06020.45
7.0.10.0130.05320.48
7.0.00.0130.07720.63
5.6.280.0030.03321.19
5.6.210.0030.08720.79
5.6.200.0000.05018.47
5.6.190.0070.07320.96
5.6.180.0200.04020.95
5.6.170.0400.07020.86
5.6.160.0000.05320.95
5.6.150.0070.05018.42
5.6.140.0100.03318.50
5.6.130.0130.04018.48
5.6.120.0100.06021.32
5.6.110.0030.08321.38
5.6.100.0070.06321.48
5.6.90.0130.07721.48
5.6.80.0100.07020.78
5.5.350.0070.07720.64
5.5.340.0100.07718.29
5.5.330.0070.04720.82
5.5.320.3600.04020.68
5.5.310.0230.05020.58
5.5.300.0100.04718.28
5.5.290.0030.06018.17
5.5.280.0100.08321.16
5.5.270.0100.05020.94
5.5.260.0170.07321.37
5.5.250.0030.04721.20
5.5.240.0070.07720.47
5.4.450.0700.07320.00
5.4.440.0700.05020.02
5.4.430.0630.05320.21
5.4.420.0470.06720.12
5.4.410.0700.04319.86
5.4.400.1000.05019.64
5.4.390.0700.08319.74
5.4.380.0600.05719.70
5.4.370.0600.05019.77
5.4.360.0630.04719.69
5.4.350.0570.06319.59
5.4.340.0600.05319.71
5.4.320.0530.05719.67
5.4.310.0670.04319.79
5.4.300.0600.05019.79
5.4.290.0700.04019.65
5.4.280.0600.05319.66
5.4.270.0930.02319.77
5.4.260.0530.05719.65
5.4.250.0630.07019.80
5.4.240.0800.03319.63
5.4.230.0630.05019.63
5.4.220.0570.05319.69
5.4.210.0600.05019.79
5.4.200.0670.04719.78
5.4.190.0630.05019.72
5.4.180.0500.06019.64
5.4.170.0670.04719.77
5.4.160.0700.04719.73
5.4.150.0670.04719.60
5.4.140.0570.05316.95
5.4.130.0530.05017.12
5.4.120.0700.04017.03
5.4.110.0700.04317.25
5.4.100.0530.05317.01
5.4.90.0600.04717.05
5.4.80.0600.05016.93
5.4.70.0430.03717.02
5.4.60.0070.07017.16
5.4.50.0030.06317.14
5.4.40.0300.03716.99
5.4.30.0370.05316.92
5.4.20.0030.06317.16

preferences:
42.19 ms | 401 KiB | 5 Q