3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(unserialize(serialize(\DateTime::createFromFormat('U', time())));

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.0370.07320.05
7.0.10.0030.05020.23
7.0.00.0070.08320.29
5.6.170.0330.06720.39
5.6.160.0030.08720.73
5.6.150.0130.07318.14
5.6.140.0000.05318.15
5.6.130.0000.04718.18
5.6.120.0100.08321.11
5.6.110.0000.04321.00
5.6.100.0100.07021.03
5.6.90.0000.09020.97
5.6.80.0070.05020.37
5.5.310.0100.04720.34
5.5.300.0130.07317.97
5.5.290.0070.03717.98
5.5.280.0030.04320.77
5.5.270.0200.06720.79
5.5.260.0130.07020.88
5.5.250.0030.08320.58
5.5.240.0070.03720.34

preferences:
139.93 ms | 1394 KiB | 7 Q