3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( "#<div id=[\"']faktaDiv[\"']>(.*?)</div>#siu", 'Århus er en by i Danmark means Århus is a city in Denmark', $a2); print_r($a2;)

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.0330.05720.33
7.0.10.0070.04320.27
7.0.00.0070.06020.08
5.6.170.0270.07020.52
5.6.160.0130.05320.45
5.6.150.0030.04018.14
5.6.140.0000.08718.14
5.6.130.0030.06318.18
5.6.120.0100.07321.11
5.6.110.0130.07721.00
5.6.100.0170.07020.98
5.6.90.0030.09321.06
5.6.80.0000.04020.48
5.5.310.0230.05720.35
5.5.300.0070.07317.98
5.5.290.0100.05717.98
5.5.280.0170.07320.75
5.5.270.0030.07020.86
5.5.260.0170.06720.84
5.5.250.0070.08020.63
5.5.240.0170.05720.27

preferences:
139.19 ms | 1394 KiB | 7 Q