דוגמה B-1 .
?php $id = 1 ; function test( ) { global $id ; unset($id) ; } test() ; echo($id) ; / / This will print out 1 in PHP 4