3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x=new DateTime('first day of next month'); $y=new DateTime('first day of next month'); var_dump($x == $y);
based on 2omT1
Output for 7.1.0 - 7.3.0alpha1
bool(false)
Output for 5.6.0 - 7.0.20
bool(true)