"global" declaration is
especially important within a class: it does not make the variable global to
the object, but instead global to the entire request. There is no way to
get at that middle ground.
I'm afraid I am not articulating myself very well... Do you get what I am
after?
What I really want is for this function to work just like the native PHP
"include()" function, where it does its thing without making its own scope.
Is there any way to do such a thing? I tried declaring and calling the
function as &myInclude(), but that didn't do it either.
Am I out-of-luck, or is there some cool trick I haven't learned yet?
Thanks,
David Huyck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo