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'; } //echo date('F j, Y', strtotime($date . '+90 days')); ?>
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected end of file in /in/aiKV1 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected $end in /in/aiKV1 on line 12
Process exited with code 255.

preferences:
168.5 ms | 1395 KiB | 39 Q