3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = time(d/m/y); echo $date; ?>
Output for 7.1.0
Notice: Use of undefined constant d - assumed 'd' in /in/FJYpJ on line 2 Notice: Use of undefined constant m - assumed 'm' in /in/FJYpJ on line 2 Warning: A non-numeric value encountered in /in/FJYpJ on line 2 Warning: A non-numeric value encountered in /in/FJYpJ on line 2 Warning: Division by zero in /in/FJYpJ on line 2 Notice: Use of undefined constant y - assumed 'y' in /in/FJYpJ on line 2 Warning: A non-numeric value encountered in /in/FJYpJ on line 2 Warning: Division by zero in /in/FJYpJ on line 2 1401883287
Output for 4.3.0 - 7.0.14
Notice: Use of undefined constant d - assumed 'd' in /in/FJYpJ on line 2 Notice: Use of undefined constant m - assumed 'm' in /in/FJYpJ on line 2 Warning: Division by zero in /in/FJYpJ on line 2 Notice: Use of undefined constant y - assumed 'y' in /in/FJYpJ on line 2 Warning: Division by zero in /in/FJYpJ on line 2 1401883287