3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y', getdate('1999-01-01 00:00:00'));
Output for 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/B8m45 on line 2 Warning: date() expects parameter 2 to be integer, array given in /in/B8m45 on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: date() expects parameter 2 to be integer, array given in /in/B8m45 on line 2
Output for 5.1.0 - 5.6.28
Notice: A non well formed numeric value encountered in /in/B8m45 on line 2 Warning: date() expects parameter 2 to be long, array given in /in/B8m45 on line 2
Output for 4.3.0 - 5.0.5
1970