3v4l.org

run code in 300+ PHP versions simultaneously
<?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"); ?>

preferences:
51.53 ms | 402 KiB | 5 Q