3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date='iiii'; if(!is_numeric($date) || $date<=00 || $date>31){ echo 1; }Ho5fva
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected end of file in /in/btlM3 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/btlM3 on line 5
Process exited with code 255.

preferences:
172.32 ms | 1399 KiB | 66 Q