3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateofbirth = '03/20/80'; list($mm,$dd,$yyyy) = explode('/',$dateofbirth); if (!checkdate($mm,$dd,$yyyy)) { echo 'this should fail!'; } else echo 'passed valid shit date?';

preferences:
35.68 ms | 402 KiB | 5 Q