3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $day = '01'; var_dump(is_numeric($day)); var_dump(ctype_digit($day)); $a = mktime(0, 0, 0, date('m'), date('d') + $day, date('Y')); var_dump($a);
Output for 7.2.11
bool(true) bool(true) int(1540854000)