3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dateStart = '2016|12/31'; list($yS, $mS, $dS) = split('[/.-]', $dateStart); echo $dS;
Output for 5.3.18
Deprecated: Function split() is deprecated in /in/P439o on line 3 Notice: Undefined offset: 2 in /in/P439o on line 3