3v4l.org

run code in 200+ php & hhvm versions
<?php $v = new DateTime(); $v->setDate('2019','12','30'); echo $v->format('W');
based on ULhi4
Output for 7.1.25 - 7.3.6
01