3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function get_mysqldate_from_stdtime($std_time='') { if (preg_match("@(\\d{1,2})\.(\\d{1,2})\.(\\d{4})@", $std_time, $matches) <> 1) { print_r($matches); } } get_mysqldate_from_stdtime("01.10.2014"); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0