3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(eval("\$r=date();"));
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: date() expects at least 1 parameter, 0 given in /in/cGdh0(2) : eval()'d code on line 1 NULL
Output for hhvm-3.12.0
Warning: date() expects at least 1 parameter, 0 given in /in/cGdh0(2)(9cd3376aa47cd74e43a5f77d25b35ac6) : eval()'d code on line 1 NULL
Output for hhvm-3.10.0

Process exited with code 153.
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