3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fecha= getdate(mday); echo $fecha;
based on f7uNb
Output for 7.2.0
Warning: Use of undefined constant mday - assumed 'mday' (this will throw an Error in a future version of PHP) in /in/aiKBr on line 2 Warning: getdate() expects parameter 1 to be integer, string given in /in/aiKBr on line 2
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant mday - assumed 'mday' in /in/aiKBr on line 2 Warning: getdate() expects parameter 1 to be integer, string given in /in/aiKBr on line 2
Output for 5.3.18 - 5.6.28
Notice: Use of undefined constant mday - assumed 'mday' in /in/aiKBr on line 2 Warning: getdate() expects parameter 1 to be long, string given in /in/aiKBr on line 2