3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime(); try { $date->modify('sda'); } catch ($e) { echo "Oops!"; } echo $date->format('Y-m-d H:i:s');

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.0300.08020.09
7.0.10.0070.04020.06
7.0.00.0130.05720.23
5.6.170.0170.04320.44
5.6.160.0070.04020.54
5.6.150.0030.05318.30
5.6.140.0100.06718.15
5.6.130.0070.08018.23
5.6.120.0000.04321.02
5.6.110.0100.08721.09
5.6.100.0100.04020.98
5.6.90.0100.08021.00
5.6.80.0100.06720.41
5.5.310.0170.04020.27
5.5.300.0100.05017.94
5.5.290.0100.07317.98
5.5.280.0170.07320.85
5.5.270.0100.06020.84
5.5.260.0070.08320.76
5.5.250.0130.07320.68
5.5.240.0100.02720.12

preferences:
141.78 ms | 1398 KiB | 7 Q