You could try 
   echo serialize($object_var);
to display the object in it's serialized form.

-Stewart

-----Original Message-----
From: Thorsten Viel [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2001 12:59
To: [EMAIL PROTECTED]
Subject: [PHP] Easy Object Reading


Hi,

does somebody know a function where I can read all variables of an object
independent of there name?

I have to test with large classes, more than 30 vars per class, and dont
want to implement a function just for testing.
I want to echo all values of vars of a class without specifyieng explicitly
every single varname.

Hope somebody can help me.


Thanks

Thorsten



-- 
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 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]

Reply via email to