3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('W',strtotime("08-12-1986"));
Output for 5.1.3 - 7.1.0
50
Output for 5.1.0 - 5.1.2
01
Output for 4.3.0 - 5.0.5
19