3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p = "2017-02-10 20:00:00"; var_dump(explode(' ', $p));
based on o2jX9
Output for 7.1.25 - 7.3.2
array(2) { [0]=> string(10) "2017-02-10" [1]=> string(8) "20:00:00" }