3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d &= new \DateTime();
based on Q2imk
Output for 5.3.19 - 7.3.0alpha1
Notice: Undefined variable: d in /in/0egFR on line 3 Notice: Object of class DateTime could not be converted to int in /in/0egFR on line 3