Is there a way to access $foo from within inner()?
$foo
inner()
function outer(){ $foo = "..."; function inner() { // print $foo } inner();}outer();
No comments:
Post a Comment