3v4l.org

run code in 300+ PHP versions simultaneously
<?hh async function getPage($url) { $fp = fopen($url, 'r'); await $fp; return stream_get_contents($fp); } $pages = await [ getPage('http://php.net'), getPage('http://example.com'), getPage('http://hhvm.com') ];

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.0130.00718.15
8.3.50.0100.01017.85
8.3.40.0110.00418.54
8.3.30.0140.00319.02
8.3.20.0070.00020.13
8.3.10.0040.00423.47
8.3.00.0040.00419.25
8.2.180.0110.00316.50
8.2.170.0070.00722.96
8.2.160.0040.01120.38
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00720.49
8.2.110.0130.00722.23
8.2.100.0040.00817.72
8.2.90.0060.00319.09
8.2.80.0030.00617.97
8.2.70.0030.00617.50
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0000.00919.76
8.2.30.0040.00417.79
8.2.20.0040.00417.54
8.2.10.0050.00317.84
8.2.00.0000.00717.57
8.1.270.0080.00023.92
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0100.00023.53
8.1.230.0040.00720.77
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0070.00417.10
8.1.190.0040.00417.11
8.1.180.0060.00318.10
8.1.170.0000.00818.47
8.1.160.0000.00721.93
8.1.150.0000.00718.78
8.1.140.0000.00717.25
8.1.130.0030.00317.62
8.1.120.0040.00417.30
8.1.110.0040.00417.30
8.1.100.0070.00017.37
8.1.90.0000.00717.25
8.1.80.0030.00317.37
8.1.70.0040.00417.29
8.1.60.0070.00017.45
8.1.50.0040.00417.21
8.1.40.0000.00717.36
8.1.30.0030.00617.53
8.1.20.0050.00217.41
8.1.10.0000.00717.41
8.1.00.0030.00517.35
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0070.00018.47
8.0.270.0030.00317.16
8.0.260.0000.00817.23
8.0.250.0030.00316.71
8.0.240.0070.00016.73
8.0.230.0070.00016.81
8.0.220.0030.00316.75
8.0.210.0030.00316.76
8.0.200.0000.00716.86
8.0.190.0000.00916.73
8.0.180.0030.00516.66
8.0.170.0040.00416.84
8.0.160.0040.00416.66
8.0.150.0070.00016.77
8.0.140.0030.00316.66
8.0.130.0030.00313.44
8.0.120.0000.00816.74
8.0.110.0080.00016.77
8.0.100.0030.00316.57
8.0.90.0000.00916.86
8.0.80.0090.00616.71
8.0.70.0070.00016.75
8.0.60.0000.00716.77
8.0.50.0000.00816.56
8.0.30.0160.00616.89
8.0.20.0110.00917.40
8.0.10.0040.00416.71
8.0.00.0070.01116.67
7.4.330.0020.00215.13
7.4.320.0030.00316.37
7.4.300.0000.00616.43
7.4.290.0060.00016.37
7.4.280.0000.00716.34
7.4.270.0000.00716.36
7.4.260.0030.00316.40
7.4.250.0040.00416.48
7.4.240.0030.00316.41
7.4.230.0040.00416.39
7.4.220.0130.00716.46
7.4.210.0060.00916.41
7.4.200.0000.00716.16
7.4.160.0130.00316.50
7.4.150.0070.01117.40
7.4.140.0080.01217.86
7.4.130.0110.00616.40
7.4.120.0120.00516.37
7.4.110.0180.00016.47
7.4.100.0100.01016.55
7.4.90.0130.00316.39
7.4.80.0080.01519.39
7.4.70.0060.01216.38
7.4.60.0100.00716.30
7.4.50.0000.00516.07
7.4.40.0000.01616.30
7.4.30.0090.01216.50
7.3.330.0050.00012.99
7.3.320.0000.00612.98
7.3.310.0040.00416.26
7.3.300.0070.00016.16
7.3.290.0080.00716.13
7.3.280.0120.00916.18
7.3.270.0030.01517.40
7.3.260.0070.01016.07
7.3.250.0090.00816.34
7.3.240.0000.01616.00
7.3.230.0110.00716.41
7.3.210.0100.00716.40
7.3.200.0180.00319.39
7.3.190.0130.00316.21
7.3.180.0090.00616.05
7.3.170.0030.01316.27
7.3.160.0060.01016.31
7.2.330.0180.00016.52
7.2.320.0130.01016.61
7.2.310.0090.01216.17
7.2.300.0100.01316.30
7.2.290.0100.01016.50
5.4.340.0070.03712.01
5.4.320.0070.03712.46
5.4.310.0070.03812.45
5.4.300.0040.03812.45
5.4.290.0080.03512.45
5.4.280.0040.03612.35
5.4.270.0080.03812.34
5.4.260.0080.03612.34
5.4.250.0060.04112.34
5.4.240.0030.03812.34
5.4.230.0060.03712.34
5.4.220.0080.03312.34
5.4.210.0060.03612.34
5.4.200.0050.04212.34
5.4.190.0070.03912.34
5.4.180.0060.03512.33
5.4.170.0080.03312.35
5.4.160.0040.03812.34
5.4.150.0020.03912.34
5.4.140.0040.03912.02
5.4.130.0040.03712.01
5.4.120.0070.03311.97
5.4.110.0070.03311.96
5.4.100.0040.04611.96
5.4.90.0090.05011.96
5.4.80.0040.04611.96
5.4.70.0040.03611.96
5.4.60.0030.03711.96
5.4.50.0070.03411.96
5.4.40.0040.03611.95
5.4.30.0040.03711.95
5.4.20.0080.03411.95
5.4.10.0060.03611.95
5.4.00.0080.03311.44

preferences:
37.43 ms | 400 KiB | 5 Q