3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = '2012-11-11T12:12:12'; $x = preg_split('/T/', $date); var_dump($x);
Output for 4.3.0 - 7.2.0
array(2) { [0]=> string(10) "2012-11-11" [1]=> string(8) "12:12:12" }