3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(2) "12" string(2) "02" string(4) "2014" string(2) "21" string(2) "30"