3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonp_string = preg_replace("/[^(]*\((.*)\)/", "$1", file_get_contents("http://9gag.com/")); $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.0060.01216.88
8.3.50.0120.00316.66
8.3.40.0060.01219.47
8.3.30.0140.00419.34
8.3.20.0000.00820.57
8.3.10.0000.00822.10
8.3.00.0000.00923.93
8.2.180.0070.01018.91
8.2.170.0120.00322.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00820.07
8.2.120.0080.00026.35
8.2.110.0110.00022.63
8.2.100.0090.00318.30
8.2.90.0050.00319.49
8.2.80.0030.00517.97
8.2.70.0090.00017.87
8.2.60.0000.01017.90
8.2.50.0030.00618.07
8.2.40.0030.00922.65
8.2.30.0050.00319.77
8.2.20.0030.00518.02
8.2.10.0000.00718.30
8.2.00.0000.00718.23
8.1.280.0100.00725.92
8.1.270.0080.00024.04
8.1.260.0000.01028.09
8.1.250.0030.00528.09
8.1.240.0120.00322.25
8.1.230.0090.00320.96
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0040.00417.60
8.1.190.0090.00017.48
8.1.180.0080.00318.10
8.1.170.0040.00418.71
8.1.160.0050.00220.93
8.1.150.0000.01019.10
8.1.140.0030.00619.74
8.1.130.0070.00017.87
8.1.120.0040.00417.82
8.1.110.0040.00417.69
8.1.100.0050.00317.67
8.1.90.0030.00617.64
8.1.80.0030.00517.70
8.1.70.0000.00717.65
8.1.60.0030.00517.77
8.1.50.0060.00317.79
8.1.40.0040.00417.60
8.1.30.0040.00417.86
8.1.20.0040.00417.84
8.1.10.0000.00917.76
8.1.00.0030.00517.66
8.0.300.0040.00418.77
8.0.290.0000.00717.13
8.0.280.0040.00418.73
8.0.270.0040.00417.41
8.0.260.0030.00317.61
8.0.250.0000.00717.38
8.0.240.0040.00417.39
8.0.230.0040.00417.27
8.0.220.0050.00317.12
8.0.210.0040.00417.33
8.0.200.0000.00717.29
8.0.190.0040.00417.25
8.0.180.0050.00317.22
8.0.170.0080.00017.25
8.0.160.0040.00417.19
8.0.150.0000.00817.18
8.0.140.0000.00717.07
8.0.130.0060.00013.80
8.0.120.0000.00817.26
8.0.110.0060.00317.25
8.0.100.0040.00417.20
8.0.90.0040.00417.44
8.0.80.0060.01017.23
8.0.70.0040.00417.22
8.0.60.0040.00417.33
8.0.50.0040.00417.27
8.0.30.0100.00817.32
8.0.20.0160.00917.52
8.0.10.0030.00517.26
8.0.00.0150.00817.10
7.4.330.0050.00017.18
7.4.320.0070.00016.80
7.4.300.0030.00516.89
7.4.290.0070.00016.78
7.4.280.0040.00416.86
7.4.270.0030.00516.70
7.4.260.0000.00716.84
7.4.250.0030.00616.88
7.4.240.0040.00416.90
7.4.230.0040.00416.95
7.4.220.0130.00616.91
7.4.210.0110.01116.83
7.4.200.0050.00316.96
7.4.160.0090.00916.73
7.4.150.0120.00917.40
7.4.140.0160.00617.86
7.4.130.0150.00716.77
7.4.120.0100.00916.85
7.4.110.0160.00316.93
7.4.100.0100.00716.91
7.4.90.0060.01216.96
7.4.80.0130.01219.39
7.4.70.0150.00917.10
7.4.60.0100.00716.97
7.4.50.0050.01017.00
7.4.40.0140.00217.06
7.4.30.0100.01016.88
7.4.00.0000.01815.02
7.3.330.0050.00013.57
7.3.320.0060.00013.56
7.3.310.0040.00416.85
7.3.300.0000.00816.71
7.3.290.0060.01216.75
7.3.280.0090.00916.74
7.3.270.0140.00317.40
7.3.260.0160.00317.05
7.3.240.0170.00316.93
7.3.230.0160.00016.70
7.3.210.0130.01016.86
7.3.200.0080.00819.39
7.3.190.0060.01016.77
7.3.180.0140.00716.80
7.3.170.0030.01516.70
7.3.160.0110.00617.08
7.2.330.0090.00916.91
7.2.320.0120.00617.05
7.2.310.0140.00316.73
7.2.300.0100.01317.20
7.2.290.0060.01217.07
7.2.80.0070.00716.73
7.2.60.0030.01217.34
7.2.00.0000.01620.01
7.1.200.0140.00815.99
7.1.100.0060.00618.63
7.1.70.0000.01517.12
7.1.60.0130.01319.28
7.1.50.0120.00917.43
7.1.00.0070.07322.71
7.0.200.0060.00616.95
7.0.60.0070.03322.26
7.0.50.0030.04018.08
7.0.40.0200.06720.52
7.0.30.0430.07320.50
7.0.20.0270.08020.48
7.0.10.0070.05320.53
7.0.00.0130.08320.47
5.6.280.0030.05721.40
5.6.210.0130.06020.91
5.6.200.0170.07718.58
5.6.190.0070.04321.10
5.6.180.0500.07321.09
5.6.170.0300.04320.87
5.6.160.0070.06320.80
5.6.150.0070.05018.74
5.6.140.0030.05018.60
5.6.130.0030.08318.47
5.6.120.0070.05321.50
5.6.110.0100.08021.32
5.6.100.0070.05021.52
5.6.90.0000.09021.32
5.6.80.0000.04020.90
5.5.350.3630.03720.70
5.5.340.0070.08318.29
5.5.330.0100.03720.83
5.5.320.0270.04020.59
5.5.310.0270.08020.67
5.5.300.0130.06318.40
5.5.290.0100.07318.37
5.5.280.0100.08021.08
5.5.270.0030.05321.22
5.5.260.0070.06721.24
5.5.250.0100.06720.82
5.5.240.0130.04320.58

preferences:
43.88 ms | 400 KiB | 5 Q