3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = 'thi$ & - that!?'; $tmp = preg_quote(tmp$, "/"); echo $tmp ?>

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.00.0100.07020.09
5.6.160.0070.07720.39
5.6.150.0170.07718.12
5.6.140.0100.07718.17
5.6.130.0000.05018.12
5.6.120.0070.08320.99
5.6.110.0070.08321.13
5.6.100.0170.07321.02
5.6.90.0030.08320.94
5.6.80.0200.07020.37
5.5.300.0070.04317.98
5.5.290.0170.07317.98
5.5.280.0030.05020.68
5.5.270.0100.08320.64
5.5.260.0100.08020.86
5.5.250.0130.07320.79
5.5.240.0230.06720.13

preferences:
140.56 ms | 1394 KiB | 7 Q