3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test= 2; $asd = "20/03/1988"; list($dd,$mm,$yyyy) = explode('/',$asd); echo $dd.','.$mm.',',$yyyy; if (!checkdate($mm,$dd,$yyyy)) { $error = true; echo 'error'; }
Output for 4.3.0 - 7.2.0
20,03,1988