3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cdate=date('2015-06-20'); $mon = date('w',$cdate); echo $mon; ?>
based on QpRHb
Output for 5.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/mp93m on line 3 4
Output for 4.3.0 - 5.0.5
4