3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formater = IntlDateFormatter::create('cz_CZ', IntlDateFormatter::MEDIUM, IntlDateFormatter::SHORT); var_dump($formater->format ( new DateTime('now') ));
based on upbqG
Output for 5.4.18 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
string(21) "Jan 7, 2016, 11:16 AM"
Output for 7.0.6
string(21) "May 21, 2016, 1:27 PM"
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /in/SDLp9:3 Stack trace: #0 {main} thrown in /in/SDLp9 on line 3
Process exited with code 255.
Output for 7.0.4
string(21) "Mar 10, 2016, 9:35 PM"
Output for 7.0.3
string(22) "Mar 18, 2016, 11:00 PM"
Output for 7.0.2
string(21) "Mar 23, 2016, 5:13 AM"
Output for 7.0.1
string(21) "Mar 24, 2016, 8:20 AM"
Output for 7.0.0
string(22) "Mar 27, 2016, 10:13 AM"
Output for 5.6.21
string(20) "May 2, 2016, 4:22 PM"
Output for 5.3.21 - 5.3.29, 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/SDLp9 on line 3
Process exited with code 255.
Output for 5.6.19
string(20) "Mar 8, 2016, 5:44 AM"
Output for 5.6.18
string(21) "Mar 15, 2016, 2:41 PM"
Output for 5.6.17
string(21) "Mar 20, 2016, 2:13 AM"
Output for 5.6.16
string(22) "Mar 28, 2016, 11:02 AM"
Output for 5.6.12
string(21) "Apr 20, 2016, 8:42 AM"
Output for 5.6.11
string(21) "Apr 24, 2016, 3:08 PM"
Output for 5.6.10
string(21) "Apr 25, 2016, 5:14 PM"
Output for 5.6.9
string(22) "Apr 27, 2016, 10:40 PM"
Output for 5.6.8
string(21) "Apr 30, 2016, 7:10 AM"
Output for 5.5.35
string(21) "May 23, 2016, 2:22 AM"
Output for 5.5.33
string(20) "Mar 9, 2016, 8:42 AM"
Output for 5.5.32
string(21) "Mar 17, 2016, 6:38 PM"
Output for 5.5.31
string(21) "Mar 21, 2016, 5:23 AM"
Output for 5.5.28
string(22) "Apr 21, 2016, 12:01 PM"
Output for 5.5.27
string(21) "Apr 22, 2016, 1:39 PM"
Output for 5.5.26
string(21) "Apr 26, 2016, 7:55 PM"
Output for 5.5.25
string(21) "Apr 29, 2016, 3:21 AM"
Output for 5.5.24
string(21) "May 24, 2016, 9:44 AM"
Output for 5.4.11 - 5.4.17
string(21) "Jan 7, 2016, 11:17 AM"