3v4l.org

run code in 200+ php & hhvm versions
<?php $v = new DateTime(); $v->setDate('2019','12','30'); echo $v->format('d/m/Y'); echo $v->format('w');
based on m7K98
Output for 7.1.25 - 7.3.6
30/12/20191