3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = strtotime("2014-07-01"); // тут может преобразование отличаться echo "week: ".date("W", $test);
based on 9Odqd
Output for 4.3.0 - 7.3.0rc4
week: 27