3v4l.org

run code in 300+ PHP versions simultaneously
<?php $meta = '<meta content="21;URL=\'http://example.com/\'" http-equiv="refresh" /> <meta content="21;URL=\'http://example.com/?PageSpeed=noscript\'" http-equiv="refresh" />'; $dom = new DOMDocument; $dom->loadHTML($meta); $noPageScripts = []; foreach ($dom->getElementsByTagName('meta') as $tag) { $content = $tag->getAttribute('content'); // Match the URL preg_match('/URL=["\']?([^"\'>]+)["\']?/i',$content,$matches); if($tag->getAttribute('http-equiv') && isset($matches[1]) && stripos($matches[1],'?PageSpeed=noscript') === false) { $noPageScripts[] = [ 'originalTag' => $dom->saveHTML($tag), 'url' => $matches[1] ]; } } var_dump($noPageScripts);

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.4.140.0120.01217.99
8.4.130.0070.00319.10
8.4.120.0150.00424.23
8.4.110.0120.00919.26
8.4.100.0070.00218.32
8.4.90.0140.00718.21
8.4.80.0040.00520.21
8.4.70.0100.00918.23
8.4.60.0050.00319.03
8.4.50.0060.01120.97
8.4.40.0180.00318.23
8.4.30.0070.00420.71
8.4.20.0000.00917.90
8.4.10.0030.00719.98
8.3.270.0120.00817.07
8.3.260.0100.00917.26
8.3.250.0100.00919.01
8.3.240.0160.00417.30
8.3.230.0130.00717.21
8.3.220.0050.00319.27
8.3.210.0150.00516.83
8.3.200.0030.00717.03
8.3.190.0110.00817.04
8.3.180.0100.01017.16
8.3.170.0070.00719.22
8.3.160.0090.00617.00
8.3.150.0130.00621.15
8.3.140.0060.00317.14
8.3.130.0100.01018.85
8.3.120.0060.01220.87
8.3.110.0100.00020.94
8.3.100.0060.00317.20
8.3.90.0090.00626.77
8.3.80.0060.00317.25
8.3.70.0040.01117.11
8.3.60.0170.00017.13
8.3.50.0120.00318.56
8.3.40.0110.00722.19
8.3.30.0090.01219.17
8.3.20.0090.00024.18
8.3.10.0040.00424.66
8.3.00.0100.00326.16
8.2.290.0080.01219.34
8.2.280.0130.00718.72
8.2.270.0040.01117.52
8.2.260.0110.00719.16
8.2.250.0100.01016.97
8.2.240.0050.00517.37
8.2.230.0030.00622.58
8.2.220.0030.01324.06
8.2.210.0090.00926.77
8.2.200.0050.00516.99
8.2.190.0210.00017.13
8.2.180.0040.01125.92
8.2.170.0070.00722.96
8.2.160.0030.01722.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00321.35
8.2.110.0090.00021.22
8.2.100.0120.00020.01
8.2.90.0030.00618.00
8.2.80.0030.00519.11
8.2.70.0000.00818.00
8.2.60.0000.00818.00
8.2.50.0000.00817.75
8.2.40.0000.00818.53
8.2.30.0050.00318.28
8.2.20.0030.00520.64
8.2.10.0080.00018.25
8.2.00.0070.00019.56
8.1.330.0130.00616.56
8.1.320.0070.00416.72
8.1.310.0000.00816.78
8.1.300.0090.00020.53
8.1.290.0090.00030.84
8.1.280.0110.00725.92
8.1.270.0060.00322.40
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00622.45
8.1.230.0040.00819.28
8.1.220.0000.00819.06
8.1.210.0080.00018.77
8.1.200.0060.00317.60
8.1.190.0090.00317.50
8.1.180.0060.00318.10
8.1.170.0050.00317.90
8.1.160.0040.00422.32
8.1.150.0030.00519.03
8.1.140.0000.00817.99
8.1.130.0000.00719.11
8.1.120.0000.00717.86
8.1.110.0030.00517.76
8.1.100.0000.00817.76
8.1.90.0000.00817.75
8.1.80.0060.00317.80
8.1.70.0040.00417.75
8.1.60.0000.00818.02
8.1.50.0000.01117.84
8.1.40.0040.00417.92
8.1.30.0030.00617.95
8.1.20.0000.00817.96
8.1.10.0040.00517.86
8.1.00.0140.01017.83
8.0.300.0000.00818.77
8.0.290.0050.00317.13
8.0.280.0060.00618.65
8.0.270.0070.00017.11
8.0.260.0000.00718.70
8.0.250.0030.00317.29
8.0.240.0000.00717.30
8.0.230.0040.00417.37
8.0.220.0070.00017.34
8.0.210.0050.00217.24
8.0.200.0000.00717.29
8.0.190.0040.00417.25
8.0.180.0000.00717.23
8.0.170.0090.00017.28
8.0.160.0050.00317.18
8.0.150.0050.00217.17
8.0.140.0170.00317.15
8.0.130.0100.01017.09
8.0.120.0170.00317.30
8.0.110.0170.00417.22
8.0.100.0070.01517.29
8.0.90.0170.00717.33
8.0.80.0140.00717.24
8.0.70.0170.00417.25
8.0.60.0140.00517.31
8.0.50.0130.00717.26
8.0.30.0160.00617.33
8.0.20.0160.00417.28
8.0.10.0170.00617.32
8.0.00.0040.00817.45
7.4.330.0050.00015.55
7.4.320.0030.00316.89
7.4.300.0030.00317.02
7.4.290.0030.00616.86
7.4.280.0050.00516.92
7.4.270.0080.00016.89
7.4.260.0160.00717.00
7.4.250.0210.00317.10
7.4.240.0190.00516.94
7.4.230.0230.00216.91
7.4.220.0170.00417.10
7.4.210.0180.00317.00
7.4.200.0160.00816.89
7.4.190.0150.00517.07
7.4.180.0170.00417.00
7.4.160.0190.00016.95
7.4.150.0170.00316.91
7.4.140.0150.00716.85
7.4.130.0200.00016.99
7.4.120.0150.00616.89
7.4.110.0160.00316.88
7.4.100.0170.00317.05
7.4.90.0050.00516.98
7.4.80.0130.00416.99
7.4.70.0120.00616.80
7.4.60.0170.00316.83
7.4.50.0110.00916.76
7.4.40.0080.01216.92
7.4.30.0150.00416.93
7.4.20.0140.00316.68
7.4.10.0170.00416.93
7.4.00.0170.00316.79
7.3.330.0120.00616.68
7.3.320.0120.00616.61
7.3.310.0040.01216.61
7.3.300.0230.00016.70
7.3.290.0180.00316.56
7.3.280.0180.00516.62
7.3.270.0190.00616.57
7.3.260.0160.00216.69
7.3.250.0170.00016.45
7.3.240.0100.01216.55
7.3.230.0200.00316.66
7.3.220.0200.00316.53
7.3.210.0160.00616.48
7.3.200.0150.00716.63
7.3.190.0210.00316.61
7.3.180.0180.00716.45
7.3.170.0190.00616.55
7.3.160.0130.00816.60
7.3.150.0090.00716.55
7.3.140.0130.00416.53
7.3.130.0130.00716.62

preferences:
29.09 ms | 403 KiB | 5 Q