3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fileLastModified = DateTime::createFromFormat('D M d Y H:i:s eO+', 'Wed Feb 26 2014 13:42:22 GMT+0100 (CET)');. $fileLastModified->setTimeZone(new DateTimeZone('UTC')); echo $fileLastModified->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)
5.5.90.0070.03317.28
5.5.80.0000.08317.30
5.5.70.0100.06717.32
5.5.60.0070.04317.22
5.5.50.0070.07317.16
5.5.40.0100.07017.27
5.5.30.0100.06317.21
5.5.20.0100.07317.32
5.5.10.0030.05017.22
5.5.00.0030.08017.27
5.4.250.0070.04719.00
5.4.240.0130.07019.00
5.4.230.0070.05018.95
5.4.220.0200.03019.04
5.4.210.0100.06719.11
5.4.200.0030.06719.13
5.4.190.0030.07719.00
5.4.180.0130.04319.06
5.4.170.0030.05319.04
5.4.160.0030.06319.10
5.4.150.0030.05019.11
5.4.140.0000.05316.39
5.4.130.0070.05316.30
5.4.120.0070.05716.42
5.4.110.0030.04716.43
5.4.100.0030.04316.46
5.4.90.0030.04016.53
5.4.80.0000.07716.41
5.4.70.0170.07016.39
5.4.60.0030.06316.56
5.4.50.0170.04316.32
5.4.40.0030.04716.58
5.4.30.0030.07716.34
5.4.20.0030.06716.46
5.4.10.0030.05316.20
5.4.00.0100.07315.82
5.3.280.0100.03714.42
5.3.270.0130.06314.54
5.3.260.0030.06714.57
5.3.250.0100.03314.70
5.3.240.0030.08014.60
5.3.230.0100.07314.55
5.3.220.0000.04314.34
5.3.210.0000.04714.52
5.3.200.0130.07714.55
5.3.190.0100.03714.54
5.3.180.0130.03314.64
5.3.170.0170.06314.52
5.3.160.0070.06314.49
5.3.150.0070.05314.42
5.3.140.0070.03314.50
5.3.130.0100.07314.38
5.3.120.0070.08014.54
5.3.110.0100.06314.48
5.3.100.0030.07713.81
5.3.90.0030.07013.99
5.3.80.0170.05013.79
5.3.70.0030.06714.09
5.3.60.0130.05313.94
5.3.50.0100.06713.88
5.3.40.0030.06313.91
5.3.30.0130.06013.88
5.3.20.0170.06313.67
5.3.10.0100.03713.52
5.3.00.0030.06713.41

preferences:
136.44 ms | 1394 KiB | 7 Q