3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date_start = (new DateTime('now'))->setTimezone(new DateTimeZone('UTC'))->format('Ymd H:i:s'); echo $date_start;
based on gUTjt
Output for 5.6.28, 7.0.20 - 7.2.0
20150917 14:03:28
Output for 7.0.6
20160503 05:16:05
Output for 7.0.5
20160402 18:15:37
Output for 7.0.4
20160310 05:26:37
Output for 7.0.3
20160318 05:54:58
Output for 7.0.2
20160322 11:27:47
Output for 7.0.1
20160323 16:47:45
Output for 7.0.0
20160326 18:29:15
Output for 5.6.21
20160502 00:33:39
Output for 5.6.20
20160409 14:29:13
Output for 5.6.19
20160307 06:57:18
Output for 5.6.18
20160314 20:01:39
Output for 5.6.17
20160319 10:14:38
Output for 5.6.16
20160327 19:14:12
Output for 5.6.15
20160328 20:08:08
Output for 5.6.14
20160401 22:34:28
Output for 5.6.13
20160415 02:38:49
Output for 5.6.12
20160419 16:11:47
Output for 5.6.11
20160422 23:10:05
Output for 5.6.10
20160425 01:01:28
Output for 5.6.9
20160427 05:59:32
Output for 5.6.8
20160429 13:55:43
Output for 5.5.35
20160522 04:11:11
Output for 5.5.34
20160410 19:29:56
Output for 5.5.33
20160308 16:20:58
Output for 5.5.32
20160316 22:23:40
Output for 5.5.31
20160320 13:03:06
Output for 5.5.30
20160331 22:08:38
Output for 5.5.29
20160416 16:43:35
Output for 5.5.28
20160420 19:16:34
Output for 5.5.27
20160421 21:42:16
Output for 5.5.26
20160426 03:27:34
Output for 5.5.25
20160428 09:30:28
Output for 5.5.24
20160524 13:13:32
Output for 5.4.41 - 5.4.45
20150917 14:03:38
Output for 5.4.39 - 5.4.40
20150917 14:03:39
Output for 5.4.31 - 5.4.38
20150917 14:03:40
Output for 5.4.23 - 5.4.30
20150917 14:03:41
Output for 5.4.16 - 5.4.22
20150917 14:03:42
Output for 5.4.8 - 5.4.15
20150917 14:03:43
Output for 5.4.1 - 5.4.7
20150917 14:03:44
Output for 5.4.0
20150917 14:03:45
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/WiXYD on line 3
Process exited with code 255.