3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo datefmt_create( null, 0, 0, 'Etc/GMT-3', 1, "yyyy-MM-dd'T'HH:mm:ssxxx" )->getPattern();
Output for 5.6.0 - 5.6.38, 7.0.0 - 7.3.1
yyyy-MM-dd'T'HH:mm:ssxxx
Output for hhvm-3.15.4
Fatal error: Uncaught TypeError: Argument 1 passed to IntlDateFormatter::__construct() must be an instance of string, null given in /in/pt7Wn:10 Stack trace: #0 (): IntlDateFormatter->__construct() #1 (): IntlDateFormatter::create() #2 /in/pt7Wn(10): datefmt_create() #3 {main}
Process exited with code 255.