3v4l.org

run code in 300+ PHP versions simultaneously
<?php $needle = file_get_contents("http://premierleague.com/"); preg_match('/^<table cellspacing="0" cellpadding="0" class="leagueTable">(.*)</table>$/', $needle, $matches); print_r($matches);

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.0090.00616.63
8.3.50.0210.00917.28
8.3.40.0100.00718.84
8.3.30.0080.00618.92
8.3.20.0090.00019.03
8.3.10.0060.00320.83
8.3.00.0030.00617.71
8.2.180.0190.00316.88
8.2.170.0070.00722.96
8.2.160.0120.00322.16
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0090.00019.85
8.2.110.0040.00721.16
8.2.100.0080.00417.97
8.2.90.0060.00319.38
8.2.80.0000.00818.13
8.2.70.0030.00617.75
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0000.00818.28
8.2.30.0000.00818.23
8.2.20.0020.00517.71
8.2.10.0030.00717.73
8.2.00.0050.00217.73
8.1.280.0060.00925.92
8.1.270.0060.00324.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00920.95
8.1.230.0070.00421.10
8.1.220.0040.00417.78
8.1.210.0000.00718.97
8.1.200.0000.00917.47
8.1.190.0040.00417.65
8.1.180.0080.00018.10
8.1.170.0040.00418.84
8.1.160.0000.00719.07
8.1.150.0040.00418.75
8.1.140.0040.00417.57
8.1.130.0000.00718.10
8.1.120.0030.00517.55
8.1.110.0000.00717.59
8.1.100.0040.00417.64
8.1.90.0000.00717.52
8.1.80.0000.00717.48
8.1.70.0000.01017.50
8.1.60.0080.00017.66
8.1.50.0000.00917.52
8.1.40.0040.00417.54
8.1.30.0030.00617.80
8.1.20.0040.00417.74
8.1.10.0040.00417.59
8.1.00.0030.00517.52
8.0.300.0050.00220.23
8.0.290.0070.00016.88
8.0.280.0000.00818.68
8.0.270.0000.00817.41
8.0.260.0000.00717.08
8.0.250.0000.00817.16
8.0.240.0000.00717.04
8.0.230.0030.00317.04
8.0.220.0000.00717.11
8.0.210.0030.00517.12
8.0.200.0030.00317.15
8.0.190.0000.01017.18
8.0.180.0040.00417.05
8.0.170.0040.00417.05
8.0.160.0040.00417.11
8.0.150.0040.00417.06
8.0.140.0090.00217.04
8.0.130.0030.00313.52
8.0.120.0030.00617.23
8.0.110.0050.00217.18
8.0.100.0050.00317.04
8.0.90.0000.00817.16
8.0.80.0080.00917.09
8.0.70.0040.00417.13
8.0.60.0000.00817.24
8.0.50.0040.00417.14
8.0.30.0140.00517.19
8.0.20.0100.01117.26
8.0.10.0050.00317.20
8.0.00.0060.01416.90
7.4.330.0000.00513.18
7.4.320.0060.00316.62
7.4.300.0000.00616.68
7.4.290.0030.00316.78
7.4.280.0030.00616.65
7.4.270.0070.00016.56
7.4.260.0000.00813.47
7.4.250.0030.00516.73
7.4.240.0000.00716.82
7.4.230.0040.00416.82
7.4.220.0120.00616.70
7.4.210.0050.01316.74
7.4.200.0000.00816.57
7.4.190.0050.00316.68
7.4.160.0090.01316.61
7.4.150.0050.01516.73
7.4.140.0120.00616.66
7.4.130.0110.00916.74
7.4.120.0110.00716.71
7.4.110.0120.00616.60
7.4.100.0120.00616.87
7.4.90.0090.00916.77
7.4.80.0200.00316.71
7.4.70.0090.01016.51
7.4.60.0120.01216.56
7.4.50.0030.00616.51
7.4.40.0030.01016.59
7.4.30.0100.00916.65
7.4.00.0060.00915.15
7.3.330.0000.00613.45
7.3.320.0030.00313.38
7.3.310.0040.00416.62
7.3.300.0030.00316.52
7.3.290.0100.01116.45
7.3.280.0110.00816.44
7.3.270.0070.01416.60
7.3.260.0180.00216.59
7.3.250.0150.00516.60
7.3.240.0100.00716.38
7.3.230.0030.01516.51
7.3.210.0030.01416.43
7.3.200.0060.01219.39
7.3.190.0030.01516.47
7.3.180.0060.00916.49
7.3.170.0090.00616.50
7.3.160.0070.01616.53
7.3.120.0060.00914.97
7.3.10.0070.00716.92
7.3.00.0110.00316.54
7.2.330.0070.01016.87
7.2.320.0060.01116.69
7.2.310.0150.00716.70
7.2.300.0120.00916.71
7.2.290.0100.00716.54
7.2.130.0070.01117.08
7.2.120.0030.01017.20
7.2.110.0000.01417.14
7.2.100.0040.00817.14
7.2.90.0030.01216.69
7.2.80.0070.00716.89
7.2.70.0070.01117.00
7.2.60.0020.01017.07
7.2.50.0090.00617.21
7.2.40.0040.00716.98
7.2.30.0040.01416.91
7.2.20.0070.00716.96
7.2.10.0030.01316.63
7.2.00.0040.01218.36
7.1.250.0100.00315.92
7.1.200.0170.00315.66
7.1.100.0000.01118.14
7.1.70.0000.00717.32
7.1.60.0110.01519.40
7.1.50.0060.01617.03
7.1.00.0030.07022.64
7.0.200.0000.00817.07
7.0.140.0030.07322.52
7.0.120.0000.07022.64
7.0.60.0100.05320.45
7.0.50.0070.07318.09
7.0.40.0030.04720.46
7.0.30.0270.04320.47
7.0.20.0330.07320.60
7.0.10.0000.07020.43
7.0.00.0130.05320.56
5.6.280.0030.07721.22
5.6.210.0000.04720.85
5.6.200.0100.07318.48
5.6.190.0070.05321.07
5.6.180.0270.08321.14
5.6.170.0200.05720.86
5.6.160.0070.08720.92
5.6.150.0130.07018.55
5.6.140.0070.05318.57
5.6.130.0130.04718.73
5.6.120.0070.08321.25
5.6.110.0070.08321.38
5.6.100.0170.05721.26
5.6.90.0030.09021.40
5.6.80.0000.06020.77
5.5.350.0300.08020.75
5.5.340.0070.07318.28
5.5.330.0100.08020.86
5.5.320.0230.03320.62
5.5.310.0230.07720.57
5.5.300.0100.03018.27
5.5.290.0100.05018.22
5.5.280.0100.06721.18
5.5.270.0070.04321.27
5.5.260.0070.08321.07
5.5.250.0070.04320.89
5.5.240.0100.07320.42
5.4.450.0000.04319.94
5.4.440.0030.04020.06
5.4.430.0030.03720.00
5.4.420.0030.04019.89
5.4.410.0030.03719.70
5.4.400.0000.04019.75
5.4.390.0000.04319.84
5.4.380.0000.04019.77
5.4.370.0070.04319.77
5.4.360.0030.07019.59
5.4.350.0100.07319.59
5.4.340.0100.07719.67
5.4.320.0100.07319.54
5.4.310.0170.05319.54
5.4.300.0070.04719.57
5.4.290.0100.03319.68
5.4.280.0070.04719.64
5.4.270.0130.06719.59
5.4.260.0170.06319.58
5.4.250.0030.08319.54
5.4.240.0130.07019.72
5.4.230.0030.08019.65
5.4.220.0000.08719.68
5.4.210.0100.06319.77
5.4.200.0100.05719.68
5.4.190.0070.04319.82
5.4.180.0000.05019.66
5.4.170.0130.07319.58
5.4.160.0070.07019.63
5.4.150.0030.08319.52
5.4.140.0030.04316.85
5.4.130.0070.07017.10
5.4.120.0100.07316.97
5.4.110.0100.07316.95
5.4.100.0170.06717.01
5.4.90.0000.04317.04
5.4.80.0070.05016.99
5.4.70.0030.07317.03
5.4.60.0070.06717.05
5.4.50.0070.07017.21
5.4.40.0000.04017.17
5.4.30.0030.06017.05
5.4.20.0170.06016.98
5.4.10.0070.07016.93
5.4.00.0070.06316.34
5.3.290.0030.05015.13
5.3.280.0000.08015.05
5.3.270.0000.05714.92
5.3.260.0030.06315.02
5.3.250.0030.07314.90
5.3.240.0030.08315.05
5.3.230.0070.08014.96
5.3.220.0030.06014.98
5.3.210.0130.07015.03
5.3.200.0070.06015.04
5.3.190.0030.07014.87
5.3.180.0070.04715.05
5.3.170.0200.03314.98
5.3.160.0200.06014.97
5.3.150.0100.06715.01
5.3.140.0030.05314.99
5.3.130.0030.08014.83
5.3.120.0070.06014.86
5.3.110.0030.04714.80
5.3.100.0000.08314.35
5.3.90.0130.06714.34
5.3.80.0100.04314.48
5.3.70.0100.04014.32
5.3.60.0000.05314.45
5.3.50.0030.04314.41
5.3.40.0100.07314.27
5.3.30.0130.05714.37
5.3.20.0030.04314.11
5.3.10.0070.07013.95
5.3.00.0030.07014.10
5.2.170.0130.02011.45
5.2.160.0000.05011.43
5.2.150.0030.03711.44
5.2.140.0070.04011.58
5.2.130.0070.05711.55
5.2.120.0100.02711.52
5.2.110.0100.05711.37
5.2.100.0130.05311.49
5.2.90.0030.03711.41
5.2.80.0030.06711.43
5.2.70.0030.06711.51
5.2.60.0130.05711.50
5.2.50.0100.03311.27
5.2.40.0070.06311.25
5.2.30.0030.06011.38
5.2.20.0030.06011.29
5.2.10.0030.06011.28
5.2.00.0030.06011.09
5.1.60.0000.05710.42
5.1.50.0030.03010.32
5.1.40.0070.04710.26
5.1.30.0030.03010.64
5.1.20.0070.04310.78
5.1.10.0170.04310.52
5.1.00.0030.03010.39
5.0.50.0000.0239.02
5.0.40.0070.0438.89
5.0.30.0000.0438.89
5.0.20.0070.0408.89
5.0.10.0030.0278.89
5.0.00.0030.0538.89
4.4.90.0030.0338.89
4.4.80.0070.0308.89
4.4.70.0000.0378.89
4.4.60.0000.0408.89
4.4.50.0030.0278.89
4.4.40.0070.0378.89
4.4.30.0000.0208.89
4.4.20.0030.0178.89
4.4.10.0000.0208.89
4.4.00.0030.0238.89
4.3.110.0000.0178.89
4.3.100.0070.0138.89
4.3.90.0070.0308.89
4.3.80.0000.0378.89
4.3.70.0030.0378.89
4.3.60.0030.0378.89
4.3.50.0030.0378.89
4.3.40.0030.0408.89
4.3.30.0070.0208.89
4.3.20.0000.0238.89
4.3.10.0000.0178.89
4.3.00.0030.0208.89

preferences:
44.34 ms | 400 KiB | 5 Q