3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list ($day, $month, $year, $hour, $minute) = preg_split("/[\/\s,:]+/", "12/02/2014 21:30"); var_dump($day, $month, $year, $hour, $minute);
Output for 4.3.0 - 7.1.10
string(2) "12" string(2) "02" string(4) "2014" string(2) "21" string(2) "30"