Scope Demo

Demonstrates variable scope

\$a is "$a", and
\$b is "$b", and

HERE; myFunction(); function myFunction() { //make $a global, but not $b global $a; print << \$a is "$a", and
\$b is "$b", and

HERE; } // end myFunction ?>