in the new auto globals, where do general global vars get stored?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lawrence

    in the new auto globals, where do general global vars get stored?

    If, in global space, I do this:

    $x = 4;

    Then in which of the variables defined on this page does $x get stored:




    I already know $GLOBALS, but is there any other?
  • Chung Leong

    #2
    Re: in the new auto globals, where do general global vars get stored?


    Uzytkownik "lawrence" <lkrubner@geoci ties.com> napisal w wiadomosci
    news:da7e68e8.0 403051222.6d2cd 304@posting.goo gle.com...[color=blue]
    > I already know $GLOBALS, but is there any other?[/color]

    Nope. Unless you explicit create a reference to $GLOBALS, like this:

    $_GET =& $GLOBALS;


    Rather pointless, of course.


    Comment

    Working...