3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateSubmitted = 'January 2, 2013'; if(time() > strtotime($dateSubmitted . '+90 days') { echo 'expired'; } else { echo 'not expired'; } ?>
Output for 5.3.0 - 5.3.20, 5.4.0 - 5.4.10
Parse error: syntax error, unexpected '{' in /in/2nhKY on line 5
Process exited with code 255.

preferences:
173.09 ms | 1395 KiB | 39 Q