3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d", strtotime("this tuesday")); echo date("Y-m-d", strtotime("next tuesday"));
Output for 4.4.0 - 4.4.9, 5.0.5 - 7.2.6, 7.2.8 - 7.3.1
2014-01-212014-01-21
Output for 7.2.7

Process exited with code 137.
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
2014-01-212014-01-28