3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = \DateTime('2015-01-01'); echo $echo $str->format('Y-m-d');

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.0270.07720.06
7.0.10.0100.08320.24
7.0.00.0000.05020.37
5.6.170.0130.09320.46
5.6.160.0070.08720.46
5.6.150.0170.06718.18
5.6.140.0030.06318.22
5.6.130.0070.05718.33
5.6.120.0030.08720.96
5.6.110.0100.05020.98
5.6.100.0170.07720.96
5.6.90.0200.04320.96
5.6.80.0070.07320.36
5.5.310.0270.07720.37
5.5.300.0070.05018.02
5.5.290.0030.05017.94
5.5.280.0100.08320.75
5.5.270.0070.04020.75
5.5.260.0070.08320.84
5.5.250.0130.07320.68
5.5.240.0100.07320.28

preferences:
142.45 ms | 1394 KiB | 7 Q