3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('invalid_string')); var_dump(strtotime('-1 monthZ')); var_dump(strtotime('-1 monthsx'));
Output for 5.1.0 - 7.2.0
bool(false) int(1360158047) int(1360197647)
Output for 4.3.0 - 5.0.5
int(-1) int(-1) int(-1)