3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains = array( 'http://wwwvagrant.royalmail.com/business', 'http://wwwvagrant.parcelforce.com', 'https://www2.postoffice.co.uk', 'http://wwwvagrant.royalmail.com', 'asdfasdfasdf', 'http://eibvagrant.royalmail.com', 'http://wwwvagrant.royalmail.com/payments', ); $doamins = array_filter($domains, function($domain) { return filter_var($domain, FILTER_VALIDATE_URL) !== FALSE; }); print_r($domains); var_dump( filter_var('dsd', FILTER_VALIDATE_UR))

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.0.20.0130.04320.28
7.0.10.0000.05720.12
7.0.00.0070.09020.13
5.6.170.0470.06020.50
5.6.160.0100.04720.50
5.6.150.0000.08718.18
5.6.140.0030.07318.25
5.6.130.0030.04018.20
5.6.120.0070.03721.00
5.6.110.0100.08020.99
5.6.100.0030.09021.14
5.6.90.0030.06320.93
5.6.80.0200.06020.51
5.5.310.0330.06020.34
5.5.300.0130.03017.96
5.5.290.0100.07017.99
5.5.280.0130.07020.85
5.5.270.0070.08320.80
5.5.260.0100.07320.65
5.5.250.0070.08320.72
5.5.240.0000.08320.13

preferences:
141.49 ms | 1394 KiB | 7 Q