3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date("cc",strtotime("next friday 4:00:00")));
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
string(50) "2014-04-04T04:00:00+02:002014-04-04T04:00:00+02:00"
Output for 5.0.5
string(50) "2014-03-28T04:00:00+01:002014-03-28T04:00:00+01:00"
Output for 5.0.0 - 5.0.4
string(50) "2014-04-04T05:00:00+02:002014-04-04T05:00:00+02:00"
Output for 4.3.0 - 4.4.9
string(2) "cc"