3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test= 2; $asd = "http://gogle.com/999/03/19/1988"; list($dd,$mm,$yyyy) = explode('/',$asd); echo $dd.','.$mm.',',$yyyy; if (!checkdate($mm,$dd,$yyyy)) { $error = true; }
Output for hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
http:,,gogle.com Warning: checkdate() expects parameter 1 to be integer, string given in /in/r9CMV on line 7
Output for 4.3.4 - 5.6.28
http:,,gogle.com Warning: checkdate() expects parameter 1 to be long, string given in /in/r9CMV on line 7
Output for 4.3.0 - 4.3.3
http:,,gogle.com