3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ct = 0; var_dump( strtotime( '+6 month', $ct ) ); var_dump( strtotime( '+6 months', $ct ) );
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5, 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(15638400) int(15638400)
Output for 5.1.0 - 5.1.2
bool(false) bool(false)
Output for 5.0.0 - 5.0.2
int(15634800) int(15634800)