Array of all local variables? How?

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

    Array of all local variables? How?

    Hej everybody,

    I was wondering if there is a way to get an array containing all
    variables in the local scope. Just as $GLOBALS does with the global scope.

    Thx
    Christopher
  • Michael Fesser

    #2
    Re: Array of all local variables? How?

    ..oO(Christophe r Vogt)
    >I was wondering if there is a way to get an array containing all
    >variables in the local scope. Just as $GLOBALS does with the global scope.
    get_defined_var s()

    Micha

    Comment

    • Christopher Vogt

      #3
      Re: Array of all local variables? How?

      >I was wondering if there is a way to get an array containing all
      >variables in the local scope. Just as $GLOBALS does with the global scope.
      >
      get_defined_var s()
      That's it. Thanks!

      Comment

      Working...