3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> string(10) "2012-11-11" [1]=> string(8) "12:12:12" }