3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file=file_get_contents("http://9gag.com/"); $jsonp_string = preg_replace("/[^(]*\((.*)\)/", "$1", $file); $json = json_decode($jsonp_string, true); echo $json['count'];

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.0070.01016.87
8.3.50.0060.00916.55
8.3.40.0040.01119.18
8.3.30.0110.00719.25
8.3.20.0070.00020.72
8.3.10.0030.00522.28
8.3.00.0040.00423.86
8.2.180.0160.00317.25
8.2.170.0140.00722.96
8.2.160.0080.00620.64
8.2.150.0030.00624.18
8.2.140.0030.00624.66
8.2.130.0030.00520.20
8.2.120.0040.00426.35
8.2.110.0060.00321.30
8.2.100.0030.00918.29
8.2.90.0060.00319.46
8.2.80.0050.00317.97
8.2.70.0090.00018.00
8.2.60.0030.00618.18
8.2.50.0060.00318.07
8.2.40.0030.00620.69
8.2.30.0030.00519.63
8.2.20.0030.00718.03
8.2.10.0080.00018.36
8.2.00.0000.00818.20
8.1.280.0090.00925.92
8.1.270.0040.00424.09
8.1.260.0040.00728.09
8.1.250.0080.00028.09
8.1.240.0090.00022.70
8.1.230.0040.00819.28
8.1.220.0030.00517.80
8.1.210.0050.00318.77
8.1.200.0030.00717.61
8.1.190.0080.00019.26
8.1.180.0060.00319.20
8.1.170.0000.00818.90
8.1.160.0000.00720.98
8.1.150.0050.00519.04
8.1.140.0000.00919.78
8.1.130.0040.00417.74
8.1.120.0040.00417.66
8.1.110.0040.00417.60
8.1.100.0050.00317.67
8.1.90.0080.00017.76
8.1.80.0060.00317.71
8.1.70.0000.00717.76
8.1.60.0030.00517.85
8.1.50.0040.00417.75
8.1.40.0080.00017.74
8.1.30.0060.00317.95
8.1.20.0040.00417.77
8.1.10.0040.00417.88
8.1.00.0000.00817.81
8.0.300.0080.00018.77
8.0.290.0060.00317.13
8.0.280.0070.00018.59
8.0.270.0000.00717.60
8.0.260.0000.00817.41
8.0.250.0030.00517.39
8.0.240.0080.00017.32
8.0.230.0080.00017.27
8.0.220.0040.00417.37
8.0.210.0070.00017.31
8.0.200.0070.00017.30
8.0.190.0060.00317.18
8.0.180.0050.00217.24
8.0.170.0040.00417.23
8.0.160.0000.00717.21
8.0.150.0030.00517.23
8.0.140.0000.00717.25
8.0.130.0060.00013.79
8.0.120.0040.00417.46
8.0.110.0040.00417.35
8.0.100.0040.00417.21
8.0.90.0050.00317.24
8.0.80.0180.00017.37
8.0.70.0030.00517.44
8.0.60.0040.00417.23
8.0.50.0040.00417.23
8.0.30.0160.00917.44
8.0.20.0150.01117.65
8.0.10.0000.00717.35
8.0.00.0090.01417.07
7.4.330.0020.00217.18
7.4.320.0000.00816.99
7.4.300.0070.00016.83
7.4.290.0040.00416.79
7.4.280.0040.00416.84
7.4.270.0000.00816.88
7.4.260.0070.00016.82
7.4.250.0030.00516.75
7.4.240.0020.00517.04
7.4.230.0040.00416.95
7.4.220.0100.01016.95
7.4.210.0110.01116.90
7.4.200.0050.00316.80
7.4.160.0070.01016.98
7.4.150.0120.00917.40
7.4.140.0110.01017.86
7.4.130.0120.00816.89
7.4.120.0110.00716.98
7.4.110.0090.00916.97
7.4.100.0150.00316.96
7.4.90.0120.00616.95
7.4.80.0160.01019.39
7.4.70.0180.00417.00
7.4.60.0090.00917.18
7.4.50.0110.00617.16
7.4.40.0030.01417.01
7.4.30.0140.00417.01
7.4.00.0110.00715.47
7.3.330.0000.00613.57
7.3.320.0030.00313.44
7.3.310.0000.00816.64
7.3.300.0060.00316.71
7.3.290.0080.00916.75
7.3.280.0090.00916.70
7.3.270.0110.00617.40
7.3.260.0110.01416.86
7.3.250.0080.01016.91
7.3.240.0130.00516.80
7.3.230.0090.00916.65
7.3.210.0030.01516.89
7.3.200.0130.00619.39
7.3.190.0080.00816.83
7.3.180.0060.01616.77
7.3.170.0150.00416.75
7.3.160.0030.01316.98
7.2.330.0150.00317.23
7.2.320.0060.01317.10
7.2.310.0130.01017.05
7.2.300.0100.00916.83
7.2.290.0110.00616.92
7.2.60.0100.00717.38
7.2.00.0000.01319.71
7.1.200.0000.01216.06
7.1.100.0090.00618.48
7.1.70.0040.00417.58
7.1.60.0060.01919.28
7.1.50.0070.01117.43
7.1.00.0070.07322.94
7.0.200.0030.00717.20
7.0.60.0000.09022.20
7.0.50.0070.06718.17
7.0.40.0100.07720.54
7.0.30.0100.05020.52
7.0.20.0170.04020.58
7.0.10.0100.06020.50
7.0.00.0070.07020.53
5.6.280.0030.05321.43
5.6.210.0070.08320.95
5.6.200.0100.07318.44
5.6.190.0000.04721.14
5.6.180.0370.06721.00
5.6.170.0330.07020.88
5.6.160.0100.07320.88
5.6.150.0130.07318.55
5.6.140.0130.06718.60
5.6.130.0070.04318.48
5.6.120.0200.07321.42
5.6.110.0230.06321.46
5.6.100.0030.05021.38
5.6.90.0170.07321.27
5.6.80.0100.04320.66
5.5.350.3730.03320.75
5.5.340.0070.07018.38
5.5.330.0100.08020.89
5.5.320.0270.04020.58
5.5.310.0230.07720.57
5.5.300.0100.08018.53
5.5.290.0030.04318.25
5.5.280.0070.04021.20
5.5.270.0070.08721.02
5.5.260.0200.06021.07
5.5.250.0100.08021.05
5.5.240.0130.08020.63

preferences:
54.2 ms | 401 KiB | 5 Q