3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = new DateTime(); echo IntlDateFormatter::formatObject($time)."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::NONE, IntlDateFormatter::MEDIUM])."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::FULL, IntlDateFormatter::NONE])."\n";
based on ZvLtF
Output for 7.1.0 - 7.2.0
Oct 28, 2015, 2:24:36 PM 2:24:36 PM Wednesday, October 28, 2015
Output for 5.6.28, 7.0.20
Oct 28, 2015, 2:24:36 PM 2:24:36 PM 20151028 02:24 PM
Output for 7.0.6
May 3, 2016, 5:56:33 PM 5:56:33 PM 20160503 05:56 PM
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /in/fd7PW:4 Stack trace: #0 {main} thrown in /in/fd7PW on line 4
Process exited with code 255.
Output for 7.0.4
Mar 10, 2016, 6:09:25 PM 6:09:25 PM 20160310 06:09 PM
Output for 7.0.3
Mar 18, 2016, 6:57:32 PM 6:57:32 PM 20160318 06:57 PM
Output for 7.0.2
Mar 23, 2016, 1:21:31 AM 1:21:31 AM 20160323 01:21 AM
Output for 7.0.1
Mar 24, 2016, 5:05:31 AM 5:05:31 AM 20160324 05:05 AM
Output for 7.0.0
Mar 27, 2016, 7:01:59 AM 7:01:59 AM 20160327 07:01 AM
Output for 5.6.21
May 2, 2016, 1:07:20 PM 1:07:20 PM 20160502 01:07 PM
Output for 5.5.29 - 5.5.30, 5.5.34, 5.6.13 - 5.6.15, 5.6.20
Fatal error: Class 'IntlDateFormatter' not found in /in/fd7PW on line 4
Process exited with code 255.
Output for 5.6.19
Mar 8, 2016, 2:19:33 AM 2:19:33 AM 20160308 02:19 AM
Output for 5.6.18
Mar 15, 2016, 11:00:52 AM 11:00:52 AM 20160315 11:00 AM
Output for 5.6.17
Mar 19, 2016, 10:42:08 PM 10:42:08 PM 20160319 10:42 PM
Output for 5.6.16
Mar 28, 2016, 7:49:16 AM 7:49:16 AM 20160328 07:49 AM
Output for 5.6.12
Apr 20, 2016, 5:22:45 AM 5:22:45 AM 20160420 05:22 AM
Output for 5.6.11
Apr 24, 2016, 11:38:33 AM 11:38:33 AM 20160424 11:38 AM
Output for 5.6.10
Apr 25, 2016, 1:48:04 PM 1:48:04 PM 20160425 01:48 PM
Output for 5.6.9
Apr 27, 2016, 6:57:30 PM 6:57:30 PM 20160427 06:57 PM
Output for 5.6.8
Apr 30, 2016, 3:51:01 AM 3:51:01 AM 20160430 03:51 AM
Output for 5.5.35
May 22, 2016, 7:32:05 PM 7:32:05 PM 20160522 07:32 PM
Output for 5.5.33
Mar 9, 2016, 4:56:43 AM 4:56:43 AM 20160309 04:56 AM
Output for 5.5.32
Mar 17, 2016, 2:39:34 PM 2:39:34 PM 20160317 02:39 PM
Output for 5.5.31
Mar 21, 2016, 1:40:55 AM 1:40:55 AM 20160321 01:40 AM
Output for 5.5.28
Apr 21, 2016, 8:35:46 AM 8:35:46 AM 20160421 08:35 AM
Output for 5.5.27
Apr 22, 2016, 10:24:41 AM 10:24:41 AM 20160422 10:24 AM
Output for 5.5.26
Apr 26, 2016, 4:31:03 PM 4:31:03 PM 20160426 04:31 PM
Output for 5.5.25
Apr 28, 2016, 11:22:04 PM 11:22:04 PM 20160428 11:22 PM
Output for 5.5.24
May 24, 2016, 5:56:57 AM 5:56:57 AM 20160524 05:56 AM
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined method IntlDateFormatter::formatObject() in /in/fd7PW on line 4
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/fd7PW on line 5
Process exited with code 255.