3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dateStart = '2016/12/31'; list($yS, $mS, $dS) = preg_split('/[/\.-]/', $dateStart); echo $dS;
Output for 5.3.18
Warning: preg_split(): Unknown modifier '\' in /in/2M3fO on line 3