3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = \DateTimeImmutable; var_dump($date->format('foo'));
Output for 7.3.0rc3
Fatal error: Uncaught Error: Undefined constant 'DateTimeImmutable' in /in/c1Ldn:3 Stack trace: #0 {main} thrown in /in/c1Ldn on line 3
Process exited with code 255.