3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dateSubmitted = "January 2, 2013'; if(time() > strtotime($dateSubmitted . "+90 days") { echo "expired"; } else { echo "not expired"; } //echo date('F j, Y', strtotime($date . '+90 days')); ?>
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected 'days' (T_STRING) in /in/QoU8p on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected T_STRING in /in/QoU8p on line 5
Process exited with code 255.