3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('now'); //$date->modify('tomorrow'); echo $date->format('h:m:s d-m-Y');
Output for 5.6.28, 7.0.14 - 7.1.0
09:05:34 08-05-2013
Output for 7.0.6
06:05:23 03-05-2016
Output for 7.0.5
07:04:12 03-04-2016
Output for 7.0.4
06:03:23 10-03-2016
Output for 7.0.3
07:03:50 18-03-2016
Output for 7.0.2
02:03:06 23-03-2016
Output for 7.0.1
05:03:41 24-03-2016
Output for 7.0.0
07:03:40 27-03-2016
Output for hhvm-3.12.0
10:03:05 13-03-2016
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
01:05:34 02-05-2016
Output for 5.6.20
06:04:26 10-04-2016
Output for 5.6.19
03:03:06 08-03-2016
Output for 5.6.18
11:03:02 15-03-2016
Output for 5.6.17
11:03:03 19-03-2016
Output for 5.6.16
08:03:52 28-03-2016
Output for 5.6.15
09:03:37 29-03-2016
Output for 5.6.14
11:04:31 02-04-2016
Output for 5.6.13
03:04:18 15-04-2016
Output for 5.6.12
06:04:52 20-04-2016
Output for 5.6.11
12:04:53 24-04-2016
Output for 5.6.10
02:04:05 25-04-2016
Output for 5.6.9
07:04:58 27-04-2016
Output for 5.6.8
04:04:03 30-04-2016
Output for 5.5.35
09:05:47 22-05-2016
Output for 5.5.34
08:04:21 11-04-2016
Output for 5.5.33
05:03:43 09-03-2016
Output for 5.5.32
03:03:44 17-03-2016
Output for 5.5.31
02:03:22 21-03-2016
Output for 5.5.30
11:04:33 01-04-2016
Output for 5.5.29
05:04:30 17-04-2016
Output for 5.5.28
09:04:48 21-04-2016
Output for 5.5.27
11:04:59 22-04-2016
Output for 5.5.26
05:04:06 26-04-2016
Output for 5.5.25
12:04:42 29-04-2016
Output for 5.5.24
06:05:37 24-05-2016
Output for 5.4.45
04:11:44 10-11-2015
Output for 5.4.44
04:11:45 10-11-2015
Output for 5.4.41 - 5.4.43
04:11:47 10-11-2015
Output for 5.4.40
04:11:48 10-11-2015
Output for 5.4.38 - 5.4.39
04:11:49 10-11-2015
Output for 5.4.35 - 5.4.37
04:11:50 10-11-2015
Output for 5.4.34
04:11:51 10-11-2015
Output for 5.3.29, 5.4.30 - 5.4.32
04:11:52 10-11-2015
Output for 5.4.27 - 5.4.29
04:11:53 10-11-2015
Output for 5.4.23 - 5.4.26
04:11:54 10-11-2015
Output for 5.3.28, 5.4.21 - 5.4.22
04:11:55 10-11-2015
Output for 5.4.18 - 5.4.20
04:11:56 10-11-2015
Output for 5.3.25 - 5.3.27, 5.4.15 - 5.4.17
04:11:57 10-11-2015
Output for 5.3.21 - 5.3.24, 5.4.12 - 5.4.14
04:11:58 10-11-2015
Output for 5.3.18 - 5.3.20, 5.4.8 - 5.4.11
04:11:59 10-11-2015
Output for 5.3.14 - 5.3.17, 5.4.5 - 5.4.7
04:11:00 10-11-2015
Output for 5.3.11 - 5.3.13, 5.4.1 - 5.4.4
04:11:01 10-11-2015
Output for 5.2.17, 5.3.5 - 5.3.10, 5.4.0
04:11:02 10-11-2015
Output for 5.2.12 - 5.2.16, 5.3.1 - 5.3.4
04:11:03 10-11-2015
Output for 5.2.5 - 5.2.11, 5.3.0
04:11:04 10-11-2015
Output for 5.2.0 - 5.2.4
04:11:05 10-11-2015
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/aAWbZ on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/aAWbZ on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/aAWbZ on line 2