RE: [PHP] getting from PHP the vars that are in the memory during the execution of the script...

2001-01-21 Thread Maciek Uhlig

$some_associative_array = get_defined_vars();

Newest PHP, though (since 4.0.4).

Maciek

> -Original Message-
> From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 20, 2001 3:15 PM
> To: php-general
> Subject: [PHP] getting from PHP the vars that are in the memory 
> during the execution of the script...
> 
> 
> Hey!
> 
> Is it possible to get the names of the variables allocated in the memory?
> 
> thank you,
> 
> Rom
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] getting from PHP the vars that are in the memory during the execution of the script...

2001-01-21 Thread Chris Lee

$GLOBALS[] should have all varibales right ? maybe someone could correct me.

 $val)
{
echo "$pos : $val\n";
}
?>


Chris Lee
Mediawaveonline.com


"Romulo Roberto Pereira" <[EMAIL PROTECTED]> wrote in message
001101c082eb$6536f5c0$[EMAIL PROTECTED]">news:001101c082eb$6536f5c0$[EMAIL PROTECTED]...
Hey!

Is it possible to get the names of the variables allocated in the memory?

thank you,

Rom




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] getting from PHP the vars that are in the memory during the execution of the script...

2001-01-20 Thread Romulo Roberto Pereira

Hey!

Is it possible to get the names of the variables allocated in the memory?

thank you,

Rom