It does. ;-) I was just throwing out an interesting piece of code.
Honestly, I'm surprised that it doesn't segfault PHP. Good job, internals!
On Thu, 15 Jul 2004 21:02:10 -0700, Dennis Gearon <[EMAIL PROTECTED]> wrote:
> I bet it would work, 'cause whenever $GLOBALS is 'print_r'd, Globals shows u
I bet it would work, 'cause whenever $GLOBALS is 'print_r'd, Globals shows up and a
'recursion note' ends the execution of 'print_r'.
Justin Patrin wrote:
You *can* unset it, you just have to unset the place where it really
sits. When you have a global in a function, then unset it, you only
discon
You *can* unset it, you just have to unset the place where it really
sits. When you have a global in a function, then unset it, you only
disconnect the variable. unset doesn't destroy a variable, it just
breaks the reference.
As I said in my earlier e-mail, using this *will* work (I tested it):
u
OK, after lots of reading, I find out it's not possible to unset something that has been 'globalized' in a function, nor ANY global value. However, some online manual pages documented that it's possible to assign NULL to the value. Well that's NOT unset.
But,that got me to thinking. What about as
4 matches
Mail list logo