3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$payload = file_get_contents('./csp-log.log'); $payload = "{\"csp-report\":{\"document-uri\":\"http://athleticssite.com/\", \"referrer\":\"\", \"violated-directive\":\"img-src\", \"effective-directive\":\"img-src\", \"original-policy\":\"default-src 'self' https://someurl.com; script-src 'self' 'unsafe-inline' https://use.typekit.com https://google-analytics.com https://ajax.googleapis.com https://js.hsforms.net https://ssl.google-analytics.com; img-src 'self' https://p.typekit.net https://ssl.google-analytics.com ; font-src https://use.typekit.com; report-uri /csp-violations-report-endpoint/;\", \"disposition\":\"report\", \"blocked-uri\":\"https://someurl.com/path/to/file/516.large.jpg?1530632190456\", \"status-code\":200, \"script-sample\":\"\"}} {\"csp-report\":{\"document-uri\":\"http://athleticssite.com/\", \"referrer\":\"\", \"violated-directive\":\"img-src\", \"effective-directive\":\"img-src\", \"original-policy\":\"default-src 'self' https://someurl.com; script-src 'self' 'unsafe-inline' https://use.typekit.com https://google-analytics.com https://ajax.googleapis.com https://js.hsforms.net https://ssl.google-analytics.com; img-src 'self' https://p.typekit.net https://ssl.google-analytics.com ; font-src https://use.typekit.com; report-uri /csp-violations-report-endpoint/;\", \"disposition\":\"report\", \"blocked-uri\":\"https://someurl.com/path/to/file/516.large.jpg?1530632190456\", \"status-code\":200, \"script-sample\":\"\"}}"; $matches = []; preg_match_all('/"blocked-uri":"(.*?)",/m', $payload, $matches); /* for($i = 0; $i < count($matches[1]); $i++) { echo $matches[1][$i] . "\n"; } */ foreach($matches as $match => $uri) { echo $uri[1] . "\n"; }

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.0190.00016.63
8.3.50.0070.01118.00
8.3.40.0080.00818.92
8.3.30.0110.00418.62
8.3.20.0050.00319.15
8.3.10.0030.00521.57
8.3.00.0080.00023.51
8.2.180.0150.00618.66
8.2.170.0070.00722.96
8.2.160.0120.00319.16
8.2.150.0070.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00420.36
8.2.120.0080.00026.35
8.2.110.0060.00322.31
8.2.100.0060.00617.89
8.2.90.0000.00819.25
8.2.80.0040.00417.97
8.2.70.0060.00318.03
8.2.60.0070.00317.93
8.2.50.0050.00318.10
8.2.40.0000.00819.48
8.2.30.0060.00319.28
8.2.20.0000.00718.16
8.2.10.0030.00618.16
8.2.00.0030.00519.53
8.1.280.0070.01125.92
8.1.270.0080.00022.15
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0090.00022.47
8.1.230.0090.00318.95
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.60
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0000.00818.75
8.1.160.0030.00519.06
8.1.150.0040.00418.96
8.1.140.0070.00017.80
8.1.130.0000.00719.04
8.1.120.0040.00417.62
8.1.110.0050.00317.70
8.1.100.0040.00317.66
8.1.90.0030.00717.55
8.1.80.0000.00717.67
8.1.70.0000.00817.54
8.1.60.0030.00517.78
8.1.50.0060.00317.68
8.1.40.0000.00817.63
8.1.30.0060.00617.86
8.1.20.0040.00417.79
8.1.10.0090.00017.82
8.1.00.0080.00017.52
8.0.300.0040.00418.78
8.0.290.0040.00417.00
8.0.280.0080.00018.50
8.0.270.0030.00617.04
8.0.260.0070.00020.24
8.0.250.0000.00717.01
8.0.240.0070.00017.05
8.0.230.0040.00417.10
8.0.220.0070.00017.05
8.0.210.0000.00717.06
8.0.200.0030.00317.02
8.0.190.0000.00817.17
8.0.180.0000.00817.04
8.0.170.0040.00417.09
8.0.160.0040.00317.02
8.0.150.0020.00517.09
8.0.140.0030.00317.01
8.0.130.0000.00613.49
8.0.120.0050.00217.04
8.0.110.0040.00417.13
8.0.100.0040.00416.98
8.0.90.0030.00516.98
8.0.80.0070.01017.04
8.0.70.0040.00416.89
8.0.60.0000.00717.09
8.0.50.0050.00316.94
8.0.30.0130.00817.38
8.0.20.0130.00717.40
8.0.10.0000.00717.01
8.0.00.0160.00516.98
7.4.330.0040.00015.55
7.4.320.0000.00616.77
7.4.300.0030.00316.74
7.4.290.0000.00716.76
7.4.280.0060.00316.59
7.4.270.0000.01116.70
7.4.260.0000.00716.63
7.4.250.0070.00016.82
7.4.240.0000.00816.78
7.4.230.0000.00716.74
7.4.220.0040.00416.74
7.4.210.0050.01016.90
7.4.200.0040.00416.60
7.4.160.0090.00716.78
7.4.140.0130.00617.86
7.4.130.0060.01316.65
7.4.120.0120.01016.77
7.4.110.0070.01116.71
7.4.100.0040.01216.91
7.4.90.0110.00616.68
7.4.80.0100.01019.39
7.4.70.0080.01216.70
7.4.60.0150.00916.78
7.4.50.0070.01116.83
7.4.40.0100.01316.74
7.4.00.0110.00615.13
7.3.330.0000.00513.36
7.3.320.0000.00713.23
7.3.310.0000.00716.45
7.3.300.0000.00616.59
7.3.290.0030.00316.38
7.3.280.0080.00716.43
7.3.260.0120.00616.55
7.3.240.0110.00716.67
7.3.230.0090.00916.75
7.3.210.0080.01516.71
7.3.200.0200.00716.55
7.3.190.0090.00916.53
7.3.180.0100.00716.79
7.3.170.0130.00316.64
7.3.160.0030.01216.34
7.2.330.0110.00916.77
7.2.320.0150.00916.85
7.2.310.0090.01116.93
7.2.300.0200.00016.78
7.2.290.0030.01716.90
7.2.70.0630.01115.00
7.2.60.0550.00915.10
7.2.50.0530.00815.10
7.2.40.0500.00714.85
7.2.30.0710.01015.13
7.2.20.0260.00815.11
7.2.10.0580.00315.29
7.2.00.0310.00815.24
7.1.200.0080.00615.72
7.1.170.0520.01214.00
7.1.160.0530.00514.07
7.1.150.0470.00814.01
7.1.140.0270.00614.06
7.1.130.0630.00714.07
7.1.120.0310.00614.17
7.1.110.0530.00814.07
7.1.100.0590.00714.17
7.1.90.0440.00814.17
7.1.80.0500.00514.13
7.1.70.0490.00414.16
7.1.60.1160.01332.15
7.1.50.0650.01032.15
7.1.40.0720.00732.07
7.1.30.0640.01532.12
7.1.20.1120.01232.19
7.1.10.0470.01214.01
7.1.00.0590.00914.19

preferences:
46.43 ms | 400 KiB | 5 Q