3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dt = DateTime::createFromFormat('n/d/Y', '7/03/2013'); echo $dt->format('F d Y H:i');
Output for 5.6.28, 7.0.12 - 7.1.0
July 03 2013 03:06
Output for 7.0.6
July 03 2013 17:33
Output for 7.0.5
July 03 2013 06:01
Output for 7.0.4
July 03 2013 17:43
Output for 7.0.3
July 03 2013 18:31
Output for 7.0.2
July 03 2013 00:54
Output for 7.0.1
July 03 2013 04:42
Output for 7.0.0
July 03 2013 06:39
Output for hhvm-3.12.0
July 03 2013 05:04
Output for hhvm-3.10.0
July 03 2013 00:07
Output for 5.6.21
July 03 2013 12:44
Output for 5.6.12, 5.6.20
July 03 2013 05:00
Output for 5.6.19
July 03 2013 01:53
Output for 5.6.18
July 03 2013 10:27
Output for 5.6.17
July 03 2013 22:17
Output for 5.6.16
July 03 2013 07:26
Output for 5.6.15
July 03 2013 08:17
Output for 5.5.30, 5.6.14
July 03 2013 10:11
Output for 5.6.13
July 03 2013 14:32
Output for 5.6.11
July 03 2013 11:15
Output for 5.6.10
July 03 2013 13:25
Output for 5.6.9
July 03 2013 18:35
Output for 5.6.8
July 03 2013 03:27
Output for 5.5.35
July 03 2013 18:51
Output for 5.5.34
July 03 2013 07:13
Output for 5.5.33
July 03 2013 04:31
Output for 5.5.32
July 03 2013 14:09
Output for 5.5.31
July 03 2013 01:14
Output for 5.5.29
July 03 2013 04:56
Output for 5.5.28
July 03 2013 08:12
Output for 5.5.27
July 03 2013 10:03
Output for 5.5.26
July 03 2013 16:08
Output for 5.5.25
July 03 2013 22:59
Output for 5.5.24
July 03 2013 05:37
Output for 5.3.29, 5.4.31 - 5.4.45
July 03 2013 10:44
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
July 03 2013 10:45
Output for 5.2.10 - 5.2.17
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/OdSbo on line 2
Process exited with code 255.
Output for 5.2.0 - 5.2.9
Fatal error: Call to undefined method DateTime::createfromformat() in /in/OdSbo on line 2
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/OdSbo on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'datetime' in /in/OdSbo on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'datetime' in /in/OdSbo on line 2