3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(date('w', 1520333820));
Output for 7.2.8
string(1) "2"