3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(new IntlDateFormatter());
Output for 7.1.0 - 7.2.6
Fatal error: Uncaught ArgumentCountError: IntlDateFormatter::__construct() expects at least 3 parameters, 0 given in /in/atYCl:3 Stack trace: #0 /in/atYCl(3): IntlDateFormatter->__construct() #1 {main} thrown in /in/atYCl on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Fatal error: Uncaught TypeError: IntlDateFormatter::__construct() expects at least 3 parameters, 0 given in /in/atYCl:3 Stack trace: #0 /in/atYCl(3): IntlDateFormatter->__construct() #1 {main} thrown in /in/atYCl on line 3
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Warning: IntlDateFormatter::__construct() expects at least 3 parameters, 0 given in /in/atYCl on line 3 NULL
Output for 5.0.0 - 5.3.29
Fatal error: Class 'IntlDateFormatter' not found in /in/atYCl on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: intldateformatter in /in/atYCl on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: intldateformatter in /in/atYCl on line 3