3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('r', strtotime('-1 monthsx'));
Output for 5.1.0 - 7.1.0
Thu, 07 Feb 2013 01:19:48 +0100
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.0.5
Thu, 01 Jan 1970 00:59:59 +0100
Output for 4.3.0 - 4.3.10, 5.0.0 - 5.0.3
Thu, 1 Jan 1970 00:59:59 +0100