3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = '12344-3-43'; var_dump((bool)preg_match('/^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}$/', $date));
based on OSdeP
Output for 5.6.0 - 7.2.6
bool(false)