|  | Posted by Rik Wasmus on 11/09/07 18:48 
On Fri, 09 Nov 2007 18:42:49 +0100, otrWalter@gmail.com  =
 <otrWalter@gmail.com> wrote:
 >> > Are you per chance looking for Reflection?
 >> >http://nl2.php.net/oop5.reflection
 >
 > Why yes! I am! But...
 >
 >
 >> Nevermind, you can't get the private/protected variable values with i=
 t,
 >> only their existance/properties.
 >> --
 >> Rik Wasmus
 >
 > he he.
 >
 > Yes, reflection doesn't quite do what I want, thus my tack on using
 > 'print_r()' and parsing the resulting string.
 
 Well, you shouldn't want it :P
 If you do however use print_r, it's a simple matter of parsing the outpu=
 t.  =
 
 Maybe applying strtok() could simplify processing/provide some shortcuts=
 =
 
 though.
 
 Or build your own PHP: in <http://bugs.php.net/bug.php?id=3D37816> it is=
 =
 
 referenced where Reflection is blocked from displaying it, see:  =
 
 <http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r=
 1=3D1.185&r2=3D1.186>.  =
 
 So just alter the php_reflection.c file to your needs :P.
 -- =
 
 Rik Wasmus
 [Back to original message] |