3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "45-04-2013"; $s1 = strtok($str,"-"); $s2 = strtok("-"); $s3 = strtok("\n"); echo ("$s1 $s2 $s3"); $num = intval($s2) +4; echo (" $num\n"); echo(strtotime('01:00')); ?>
Output for 4.3.0 - 7.1.0
45 04 2013 8 1367190000