3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(YYY-mm-dd,mktime());
Output for 7.1.0
Notice: Use of undefined constant YYY - assumed 'YYY' in /in/eV6TG on line 3 Notice: Use of undefined constant mm - assumed 'mm' in /in/eV6TG on line 3 Warning: A non-numeric value encountered in /in/eV6TG on line 3 Warning: A non-numeric value encountered in /in/eV6TG on line 3 Notice: Use of undefined constant dd - assumed 'dd' in /in/eV6TG on line 3 Warning: A non-numeric value encountered in /in/eV6TG on line 3 Deprecated: mktime(): You should be using the time() function instead in /in/eV6TG on line 3 0
Output for 7.0.0 - 7.0.14
Notice: Use of undefined constant YYY - assumed 'YYY' in /in/eV6TG on line 3 Notice: Use of undefined constant mm - assumed 'mm' in /in/eV6TG on line 3 Notice: Use of undefined constant dd - assumed 'dd' in /in/eV6TG on line 3 Deprecated: mktime(): You should be using the time() function instead in /in/eV6TG on line 3 0
Output for hhvm-3.10.0 - 3.12.0
Notice: Use of undefined constant YYY - assumed 'YYY' in /in/eV6TG on line 3 Notice: Use of undefined constant mm - assumed 'mm' in /in/eV6TG on line 3 Notice: Use of undefined constant dd - assumed 'dd' in /in/eV6TG on line 3 Strict Warning: mktime(): You should be using the time() function instead in /in/eV6TG on line 3 0
Output for 5.1.0 - 5.6.28
Notice: Use of undefined constant YYY - assumed 'YYY' in /in/eV6TG on line 3 Notice: Use of undefined constant mm - assumed 'mm' in /in/eV6TG on line 3 Notice: Use of undefined constant dd - assumed 'dd' in /in/eV6TG on line 3 Strict Standards: mktime(): You should be using the time() function instead in /in/eV6TG on line 3 0
Output for 4.3.0 - 5.0.5
Notice: Use of undefined constant YYY - assumed 'YYY' in /in/eV6TG on line 3 Notice: Use of undefined constant mm - assumed 'mm' in /in/eV6TG on line 3 Notice: Use of undefined constant dd - assumed 'dd' in /in/eV6TG on line 3 0