3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text= <<<TEXT [Wed Feb 06 08:57:54 2019] [error] [client 123.123.123.123] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "1"] [msg "Request Missing an Accept Header"] [severity "NOTICE"] [ver "OWASP_CRS/2.2.6"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "something.net"] [uri "/index.php/admin/"] [unique_id "XFsEAsDzZbMAAGY5i5oAAAAA"] TEXT; preg_match_all('/\[(msg|uri) +("?)(.*?)\2]/', $text, $m, PREG_SET_ORDER); var_export( array_column($m, 3, 1) );

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.130.0100.00718.01
8.4.120.0080.01222.33
8.4.110.0040.00422.70
8.4.100.0080.00118.05
8.4.90.0120.00918.54
8.4.80.0100.00818.07
8.4.70.0050.00317.98
8.4.60.0120.00718.97
8.4.50.0100.01118.50
8.4.40.0160.00318.62
8.4.30.0100.01018.70
8.4.20.0150.00619.82
8.4.10.0030.01019.78
8.3.260.0080.00916.77
8.3.250.0070.00318.97
8.3.240.0110.00816.77
8.3.230.0080.00916.57
8.3.220.0070.00417.26
8.3.210.0050.00218.46
8.3.200.0030.00616.80
8.3.190.0100.00519.04
8.3.180.0120.00716.73
8.3.170.0090.00918.93
8.3.160.0120.00618.46
8.3.150.0080.00018.34
8.3.140.0040.00417.18
8.3.130.0000.00818.54
8.3.120.0080.00020.48
8.3.110.0030.00620.94
8.3.100.0040.00424.06
8.3.90.0070.01126.77
8.3.80.0000.01018.31
8.3.70.0140.00718.55
8.3.60.0170.00318.45
8.3.50.0110.00418.68
8.3.40.0070.01322.23
8.3.30.0140.00721.96
8.3.20.0070.01324.18
8.3.10.0120.00624.66
8.3.00.0060.01326.16
8.2.290.0120.00720.26
8.2.280.0100.00820.67
8.2.270.0180.00417.08
8.2.260.0080.00018.39
8.2.250.0060.00316.63
8.2.240.0080.00817.06
8.2.230.0050.00522.58
8.2.220.0070.00337.54
8.2.210.0050.00326.77
8.2.200.0000.01116.63
8.2.190.0120.00918.25
8.2.180.0090.00916.75
8.2.170.0170.00022.96
8.2.160.0180.00422.96
8.2.150.0090.00925.66
8.2.140.0130.00624.66
8.2.130.0040.01426.16
8.2.120.0100.01019.95
8.2.110.0120.00922.10
8.2.100.0150.00721.21
8.2.90.0230.01018.87
8.2.80.0210.00618.83
8.2.70.0160.01918.87
8.2.60.0280.00718.97
8.2.50.0310.00618.74
8.2.40.0290.00719.01
8.2.30.0230.01018.68
8.2.20.0130.01718.82
8.2.10.0230.00819.00
8.2.00.0270.00318.99
8.1.330.0110.00821.81
8.1.320.0130.00716.21
8.1.310.0140.00318.36
8.1.300.0050.00518.43
8.1.290.0000.00930.84
8.1.280.0090.00925.92
8.1.270.0150.00323.99
8.1.260.0090.00926.35
8.1.250.0150.00428.09
8.1.240.0280.00318.56
8.1.230.0300.00618.57
8.1.220.0270.00718.58
8.1.210.0160.00019.77
8.1.200.0140.00018.41
8.1.190.0150.00018.42
8.1.180.0150.00018.55
8.1.170.0080.00618.66
8.1.160.0120.00018.61
8.1.150.0090.00420.56
8.1.140.0140.00018.63
8.1.130.0080.00518.53
8.1.120.0100.00218.50
8.1.110.0110.00318.56
8.1.100.0090.00618.69
8.1.90.0030.01218.58
8.1.80.0070.00718.68
8.1.70.0060.00618.60
8.1.60.0130.00318.61
8.1.50.0130.00318.66
8.1.40.0130.00018.70
8.1.30.0080.00419.06
8.1.20.0160.00018.91
8.1.10.0120.00018.72
8.1.00.0080.00518.48
8.0.300.0160.00017.99
8.0.290.0150.00018.07
8.0.280.0130.00018.06
8.0.270.0090.00417.99
8.0.260.0120.00318.00
8.0.250.0120.00318.27
8.0.240.0140.00017.94
8.0.230.0080.00418.21
8.0.220.0150.00018.06
8.0.210.0140.00017.92
8.0.200.0150.00018.05
8.0.190.0100.00517.85
8.0.180.0040.01118.00
8.0.170.0120.00318.08
8.0.160.0130.00318.13
8.0.150.0130.00318.13
8.0.140.0160.00018.13
8.0.130.0060.00617.95
8.0.120.0140.00018.06
8.0.110.0090.00518.33
8.0.100.0150.00018.04
8.0.90.0200.00318.00
8.0.80.0090.00618.13
8.0.70.0130.00318.04
8.0.60.0150.00017.95
8.0.50.0150.00018.14
8.0.30.0100.00218.27
8.0.20.0090.00618.31
8.0.10.0070.00718.38

preferences:
26.62 ms | 403 KiB | 5 Q