3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('r', date('s') + inf);
Output for 7.2.0
Warning: Use of undefined constant inf - assumed 'inf' (this will throw an Error in a future version of PHP) in /in/uH7s2 on line 3 Warning: A non-numeric value encountered in /in/uH7s2 on line 3 Thu, 01 Jan 1970 01:00:17 +0100
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant inf - assumed 'inf' in /in/uH7s2 on line 3 Warning: A non-numeric value encountered in /in/uH7s2 on line 3 Thu, 01 Jan 1970 01:00:17 +0100
Output for 5.6.28, 7.0.20
Notice: Use of undefined constant inf - assumed 'inf' in /in/uH7s2 on line 3 Thu, 01 Jan 1970 01:00:17 +0100
Output for 5.4.0 - 5.6.23, 7.0.0 - 7.0.8
Notice: Use of undefined constant inf - assumed 'inf' in /in/uH7s2 on line 3 Thu, 01 Jan 1970 01:00:16 +0100