?php $a = 1; / * global scope * / function Test() {echo $a; / * reference to local scope variable * /} Test();?
?php $a = 1; / * portée globale * / function test() {echo $a; / * portée locale * /} test();?