|
Posted by Rik Wasmus on 11/09/07 17:26
On Fri, 09 Nov 2007 18:03:29 +0100, Rik Wasmus
<luiheidsgoeroe@hotmail.com> wrote:
> On Fri, 09 Nov 2007 17:55:46 +0100, otrWalter@gmail.com
> <otrWalter@gmail.com> wrote:
>
>> I'm trying to display that type, name and value to class properties.
>> Yes, I know about print_r().
>>
>> I'm just trying to build a display format for this information. AFAIK,
>> the standard PHP tools to look into classes do not give you PRIVATE
>> and PROTECTED properties (nor methods), but the print_r() does! (At
>> least for properties it does.)
> Are you per chance looking for Reflection?
> http://nl2.php.net/oop5.reflection
Nevermind, you can't get the private/protected variable values with it,
only their existance/properties.
--
Rik Wasmus
[Back to original message]
|