3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tz = new DateTimeZone("UTC"); $STRING = "21.03.2016 08:40"; $dateTimeObj = DateTime::createFromFormat("n.j.Y G:i", $dateTimeString, $tz); print_r($dateTimeObj)

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.2.70.0000.01716.22
7.2.60.0090.00616.63
7.2.50.0060.00916.78
7.2.40.0100.01016.51
7.2.30.0060.01216.71
7.2.20.0070.01116.54
7.2.10.0090.00916.47
7.2.00.0070.00716.46
7.1.170.0060.01115.27
7.1.160.0030.01315.46
7.1.150.0130.00315.16
7.1.140.0050.01015.62
7.1.130.0030.01315.07
7.1.120.0030.00915.55
7.1.110.0090.00615.28
7.1.100.0060.00915.48
7.1.90.0060.00615.44
7.1.80.0060.00615.18
7.1.70.0090.00315.29
7.1.60.0390.00433.23
7.1.50.0280.01433.76
7.1.40.0270.01433.36
7.1.30.0230.01933.70
7.1.20.0290.01333.42
7.1.10.0090.00315.52
7.1.00.0120.00015.21

preferences:
141.89 ms | 1394 KiB | 7 Q