3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a ($p_a) { function b ($p_b) { return "I'm 'b' with parameters a:$p_a and b:$p_b\n"; } return b($p_a); } echo a(1);
based on 6uYBg
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: p_a in /in/drnki on line 4 I'm 'b' with parameters a: and b:1
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: p_a in /in/drnki on line 4 I'm 'b' with parameters a: and b:1