3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(new \DateTimeImmutable('15/02/1955'));
Output for 7.0.30 - 7.3.1
Fatal error: Uncaught Exception: DateTimeImmutable::__construct(): Failed to parse time string (15/02/1955) at position 0 (1): Unexpected character in /in/1pklq:3 Stack trace: #0 /in/1pklq(3): DateTimeImmutable->__construct('15/02/1955') #1 {main} thrown in /in/1pklq on line 3
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (15/02/1955) at position 0 (1): Unexpected character' in /in/1pklq:-1 Stack trace: #0 (): DateTime->__construct() #1 /in/1pklq(-1): DateTimeImmutable->__construct() #2 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (15/02/1955) at position 0 (1): Unexpected character' in /in/1pklq:3 Stack trace: #0 (): DateTime->__construct() #1 /in/1pklq(3): DateTimeImmutable->__construct() #2 {main}
Process exited with code 255.
Output for 5.6.30
Fatal error: Uncaught exception 'Exception' with message 'DateTimeImmutable::__construct(): Failed to parse time string (15/02/1955) at position 0 (1): Unexpected character' in /in/1pklq:3 Stack trace: #0 /in/1pklq(3): DateTimeImmutable->__construct('15/02/1955') #1 {main} thrown in /in/1pklq on line 3
Process exited with code 255.