3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tz = new DateTimeZone("UTC"); $STRING = "21.03.2016 08:40"; $dateTimeObj = DateTime::createFromFormat("n.j.Y G:i", $dateTimeString, $tz); print_r($dateTimeObj)
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
Parse error: syntax error, unexpected end of file in /in/GKGDY on line 7
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: syntax error, unexpected $end in /in/GKGDY:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: syntax error, unexpected $end in /in/GKGDY:7 Stack trace: #0 {main}
Process exited with code 255.