3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo DateTime::createFromFormat('Y-m-d', '2013-10-01')->format('H:i:s d-m-Y');
based on FcIoO
Output for 5.6.28, 7.0.14 - 7.1.0
19:35:54 01-10-2013
Output for 7.0.6
06:44:11 01-10-2013
Output for 7.0.5
19:45:15 01-10-2013
Output for 7.0.4
05:51:43 01-10-2013
Output for 7.0.3
06:17:53 01-10-2013
Output for 7.0.2
11:49:08 01-10-2013
Output for 7.0.1
17:14:41 01-10-2013
Output for 7.0.0
18:57:18 01-10-2013
Output for hhvm-3.12.0
14:51:01 01-10-2013
Output for hhvm-3.10.0
03:47:53 01-10-2013
Output for 5.6.21
02:00:38 01-10-2013
Output for 5.6.20
15:01:46 01-10-2013
Output for 5.6.19
06:50:23 01-10-2013
Output for 5.6.18
19:40:48 01-10-2013
Output for 5.6.17
10:38:42 01-10-2013
Output for 5.6.16
20:42:28 01-10-2013
Output for 5.6.15
21:34:50 01-10-2013
Output for 5.6.14
00:03:34 01-10-2013
Output for 5.6.13
04:08:05 01-10-2013
Output for 5.6.12
17:39:02 01-10-2013
Output for 5.6.11
00:37:13 01-10-2013
Output for 5.6.10
02:28:20 01-10-2013
Output for 5.6.9
07:27:21 01-10-2013
Output for 5.6.8
15:20:42 01-10-2013
Output for 5.6.7
06:56:51 01-10-2013
Output for 5.5.35
05:38:52 01-10-2013
Output for 5.5.34
20:58:53 01-10-2013
Output for 5.5.33
16:45:31 01-10-2013
Output for 5.5.32
22:48:00 01-10-2013
Output for 5.5.31
13:27:35 01-10-2013
Output for 5.5.30
23:35:03 01-10-2013
Output for 5.5.29
18:13:13 01-10-2013
Output for 5.5.28
20:42:45 01-10-2013
Output for 5.5.27
23:09:36 01-10-2013
Output for 5.5.26
04:53:56 01-10-2013
Output for 5.5.25
10:56:30 01-10-2013
Output for 5.5.24
17:51:54 01-10-2013
Output for 5.4.45
03:22:00 01-10-2013
Output for 5.4.44
03:22:01 01-10-2013
Output for 5.4.43
03:22:02 01-10-2013
Output for 5.4.41 - 5.4.42
03:22:03 01-10-2013
Output for 5.4.38 - 5.4.40
03:22:04 01-10-2013
Output for 5.4.35 - 5.4.37
03:22:05 01-10-2013
Output for 5.4.32 - 5.4.34
03:22:06 01-10-2013
Output for 5.3.29, 5.4.28 - 5.4.31
03:22:07 01-10-2013
Output for 5.4.25 - 5.4.27
03:22:08 01-10-2013
Output for 5.3.28, 5.4.23 - 5.4.24
03:22:09 01-10-2013
Output for 5.4.19 - 5.4.22
03:22:10 01-10-2013
Output for 5.3.27, 5.4.17 - 5.4.18
03:22:11 01-10-2013
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
03:22:12 01-10-2013
Output for 5.3.20 - 5.3.23, 5.4.11 - 5.4.12
03:22:13 01-10-2013
Output for 5.3.17 - 5.3.19, 5.4.7 - 5.4.10
03:22:14 01-10-2013
Output for 5.3.14 - 5.3.16, 5.4.4 - 5.4.6
03:22:15 01-10-2013
Output for 5.3.11 - 5.3.13, 5.4.0 - 5.4.3
03:22:16 01-10-2013
Output for 5.3.5 - 5.3.10
03:22:17 01-10-2013
Output for 5.3.2 - 5.3.4
03:22:18 01-10-2013
Output for 5.3.0 - 5.3.1
03:22:19 01-10-2013
Output for 5.2.10 - 5.2.17
Fatal error: Call to undefined method DateTime::createFromFormat() in /in/Z0bbU on line 3
Process exited with code 255.
Output for 5.2.0 - 5.2.9
Fatal error: Call to undefined method DateTime::createfromformat() in /in/Z0bbU on line 3
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/Z0bbU on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/Z0bbU on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/Z0bbU on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/Z0bbU on line 3
Process exited with code 255.