3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(eval("\$r=date();"));
Output for 5.1.0 - 7.2.0
Warning: date() expects at least 1 parameter, 0 given in /in/cGdh0(2) : eval()'d code on line 1 NULL
Output for 4.3.0 - 5.0.5
Warning: Wrong parameter count for date() in /in/cGdh0(2) : eval()'d code on line 1 NULL