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('/\[([a-z]+) +("?)(.*?)\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.0110.01018.76
8.4.120.0110.00824.20
8.4.110.0130.00818.13
8.4.100.0080.00717.96
8.4.90.0150.00520.56
8.4.80.0040.00418.73
8.4.70.0050.00318.04
8.4.60.0100.01018.82
8.4.50.0050.00418.60
8.4.40.0060.01318.32
8.4.30.0100.01018.92
8.4.20.0140.00719.66
8.4.10.0000.00919.39
8.3.260.0090.01016.61
8.3.250.0130.00718.75
8.3.240.0110.00917.36
8.3.230.0090.01016.47
8.3.220.0050.00219.10
8.3.210.0070.00818.40
8.3.200.0040.00416.63
8.3.190.0050.00216.94
8.3.180.0120.00716.76
8.3.170.0120.00618.99
8.3.160.0040.00416.72
8.3.150.0140.00417.08
8.3.140.0090.00316.69
8.3.130.0030.00618.55
8.3.120.0150.00018.86
8.3.110.0070.00420.94
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0030.00618.30
8.3.70.0100.00618.40
8.3.60.0100.01018.27
8.3.50.0140.00716.64
8.3.40.0100.01022.14
8.3.30.0070.01421.83
8.3.20.0060.01224.18
8.3.10.0120.00624.66
8.3.00.0110.00726.16
8.2.290.0120.00820.17
8.2.280.0120.00718.77
8.2.270.0150.00417.01
8.2.260.0080.00018.75
8.2.250.0000.00816.77
8.2.240.0040.00418.87
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0060.00326.77
8.2.200.0040.00416.63
8.2.190.0140.00716.58
8.2.180.0070.00718.39
8.2.170.0110.00719.08
8.2.160.0140.00322.96
8.2.150.0080.00825.66
8.2.140.0090.00924.66
8.2.130.0130.00626.16
8.2.120.0050.00320.07
8.2.110.0100.01022.13
8.2.100.0120.00820.75
8.2.90.0250.00618.85
8.2.80.0290.00018.80
8.2.70.0270.00318.94
8.2.60.0260.01018.84
8.2.50.0100.00618.90
8.2.40.0090.00618.81
8.2.30.0130.00018.78
8.2.20.0110.00318.87
8.2.10.0160.00018.87
8.2.00.0270.00319.12
8.1.330.0110.00721.98
8.1.320.0080.01218.08
8.1.310.0040.01416.35
8.1.300.0030.00618.33
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0110.00826.35
8.1.250.0090.00928.09
8.1.240.0110.00418.73
8.1.230.0260.00618.74
8.1.220.0080.00518.79
8.1.210.0220.00019.94
8.1.200.0120.00918.52
8.1.190.0180.00918.50
8.1.180.0150.00018.54
8.1.170.0150.00818.68
8.1.160.0080.00818.74
8.1.150.0080.00420.74
8.1.140.0200.00318.69
8.1.130.0140.00018.56
8.1.120.0140.01018.70
8.1.110.0220.00018.66
8.1.100.0110.00318.52
8.1.90.0080.00518.69
8.1.80.0080.00518.66
8.1.70.0090.00318.73
8.1.60.0120.00618.73
8.1.50.0180.00318.63
8.1.40.0140.00018.80
8.1.30.0070.00719.16
8.1.20.0150.00518.82
8.1.10.0140.00018.99
8.1.00.0040.00918.69
8.0.300.0130.00318.13
8.0.290.0110.00418.07
8.0.280.0130.00018.05
8.0.270.0050.01018.15
8.0.260.0080.00818.13
8.0.250.0070.00717.96
8.0.240.0070.00718.07
8.0.230.0080.00418.44
8.0.220.0190.00017.94
8.0.210.0140.00018.21
8.0.200.0150.00017.98
8.0.190.0110.00418.13
8.0.180.0040.01118.13
8.0.170.0120.00318.21
8.0.160.0150.00018.04
8.0.150.0160.00418.13
8.0.140.0090.00617.99
8.0.130.0100.00318.08
8.0.120.0140.00018.06
8.0.110.0100.00318.25
8.0.100.0120.00317.93
8.0.90.0160.00018.13
8.0.80.0210.00718.13
8.0.70.0150.00018.05
8.0.60.0200.00718.08
8.0.50.0130.00317.94
8.0.30.0130.00418.18
8.0.20.0200.00017.98
8.0.10.0190.00818.33

preferences:
27.58 ms | 403 KiB | 5 Q