3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formater = IntlDateFormatter::create('pl_PL', IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); var_dump($formater->format ( new DateTime('now') ));
based on 8YNva
Output for 5.4.12 - 5.4.14, 7.0.20 - 7.2.0
string(10) "7 sty 2016"
Output for 7.0.6
string(10) "21.05.2016"
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /in/tDR7g:3 Stack trace: #0 {main} thrown in /in/tDR7g on line 3
Process exited with code 255.
Output for 7.0.4
string(10) "10.03.2016"
Output for 7.0.3
string(10) "18.03.2016"
Output for 7.0.2
string(10) "23.03.2016"
Output for 7.0.1
string(10) "24.03.2016"
Output for 7.0.0
string(10) "27.03.2016"
Output for 5.4.11, 5.4.15 - 5.4.45, 5.6.28
string(10) "07.01.2016"
Output for 5.6.21
string(10) "02.05.2016"
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/tDR7g on line 3
Process exited with code 255.
Output for 5.6.19
string(10) "08.03.2016"
Output for 5.6.18
string(10) "15.03.2016"
Output for 5.6.17
string(10) "20.03.2016"
Output for 5.6.16
string(10) "28.03.2016"
Output for 5.6.12
string(10) "20.04.2016"
Output for 5.6.11
string(10) "24.04.2016"
Output for 5.6.10
string(10) "25.04.2016"
Output for 5.6.9
string(10) "27.04.2016"
Output for 5.6.8
string(10) "30.04.2016"
Output for 5.5.35
string(10) "23.05.2016"
Output for 5.5.33
string(10) "09.03.2016"
Output for 5.5.32
string(10) "17.03.2016"
Output for 5.5.31
string(10) "21.03.2016"
Output for 5.5.28
string(10) "21.04.2016"
Output for 5.5.27
string(10) "22.04.2016"
Output for 5.5.26
string(10) "26.04.2016"
Output for 5.5.25
string(10) "29.04.2016"
Output for 5.5.24
string(10) "24.05.2016"