3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array('', "", '0000-00-00'); foreach($t as $i) { var_dump((int)$i); }
Output for 5.6.30
int(0) int(0) int(0)