3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function log ($a) { return $a + 1; } $b = log(3); var_dump($b);
Output for 5.3.0 - 5.4.23
Fatal error: Cannot redeclare log() in /in/80haj on line 4
Process exited with code 255.