3v4l.org

run code in 300+ PHP versions simultaneously
<?php $target_days=mktime(0,0,0,12,31,2013);//modify the birth day 12/31/2013 $today = time(); $diff_days = ($target_days - $today); $days = 9Int) ($diff_days/86400); print "days till next birthday: $days days!";
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'Int' (T_STRING) in /in/C2k22 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/C2k22 on line 5
Process exited with code 255.

preferences:
185.33 ms | 1395 KiB | 66 Q