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
31