3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new DateTimeImmutable())->modify('next day at 0:0'));
based on mChhr
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: DateTimeImmutable::modify(): Failed to parse time string (next day at 0:0) at position 9 (a): The timezone could not be found in the database in /in/rLuI1 on line 3 bool(false)
Output for hhvm-3.15.4
Warning: DateTime::modify(): Failed to parse time string (next day at 0:0) at position 9 (a): The timezone could not be found in the database object(DateTimeImmutable)#3 (1) { ["data":"DateTimeImmutable":private]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2017-07-11 15:40:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } }