3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a(){ global $b =123; function b1(){ echo $b; } echo b1(); } a();
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '=', expecting ',' or ';' in /in/ku9Hg on line 4
Process exited with code 255.