3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $timeStampDernierJourAnnee = mktime(0,0,0,12,31,date('Y')); $derniere_semaine = date('W',$timeStampDernierJourAnnee); echo $derniere_semaine;
Output for 4.4.1 - 4.4.9, 5.0.5 - 7.1.0
01
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
1