3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('w', strtotime('2014-10-05')); echo "\r\n"; echo date('w', strtotime('2014-09-30'));
Output for 4.3.0 - 7.1.0
0 2