3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false) int(1360158047) int(1360197647)
Output for 4.3.0 - 5.0.5
int(-1) int(-1) int(-1)