: [PHP] Only see class member variables, not parent class member
variables
Peter Lauri wrote:
> Hi,
>
> I have a class B that extends A. When I do print_r($object_b) it outputs
all
> member variables from A and B. I just want to see the variables from B
> excluding the one that B inher
Peter Lauri wrote:
> Hi,
>
> I have a class B that extends A. When I do print_r($object_b) it outputs all
> member variables from A and B. I just want to see the variables from B
> excluding the one that B inherits from A, how can I do that? This is just
> for development; I will of course need to
2 matches
Mail list logo