3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url ="[::1]/challenges/flag.php"; if (preg_match ('/[https?|[st]?ftp|dict|gopher|scp|telnet|ldaps?]\/\/.*(\d+|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})/i', $url)) { echo('Please do not access by IP.'); } else (preg_match ('/localhost/i', $url)) { echo('Please do not access localhost.'); }

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)
7.1.70.0070.01317.03
7.1.60.0200.01334.93
7.1.50.0310.01534.77
7.1.40.0250.00934.18
7.1.30.0200.01034.11
7.1.20.0200.02134.54
7.1.10.0090.00616.43
7.1.00.0130.00616.63
7.0.200.0160.00416.52
7.0.190.0120.00616.66
7.0.180.0140.00315.96
7.0.170.0090.00616.23
7.0.160.0070.01016.09
7.0.150.0100.01616.09
7.0.140.0070.01016.20
7.0.130.0110.00516.25
7.0.120.0140.00316.37
7.0.110.0030.01316.39
7.0.100.0150.00816.38
7.0.90.0100.00716.29
7.0.80.0030.01216.12
7.0.70.0030.01116.20
7.0.60.0060.01215.78
7.0.50.0000.01816.14
7.0.40.0060.01316.34
7.0.30.0200.00016.29
7.0.20.0110.00716.07
7.0.10.0080.00916.24
7.0.00.0060.01016.53

preferences:
139.27 ms | 1394 KiB | 7 Q