3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date('Y-m-01 \U\T\C')); var_dump(strtotime(date('Y-m-01'))); var_dump(strtotime(date('Y-m-01 \U\T\C')));
Output for 4.3.0 - 5.0.5, 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(14) "2013-12-01 UTC" int(1385852400) int(1385856000)
Output for 5.1.0 - 5.1.1
string(14) "2013-12-01 UTC" int(1385852400) bool(false)