Should go to the mailinlist :>
-- Forwarded message --
From: Sebastian Krebs
Date: 2012/7/13
Subject: Re: [PHP] Bazar behavior w/ private member variables
To: Nathan Nobbe
Hi,
Private properties are only accessable from within an object of the class,
where it's def
On Thu, Jul 12, 2012 at 9:23 PM, Nathan Nobbe wrote:
> On Thu, Jul 12, 2012 at 8:38 PM, Tommy Pham wrote:
>
>> On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe
>> wrote:
>> > Hi all,
>> >
>> > Strangely PHP seems to let each class have its own layer of private
>> scope
>> > for member variables. I
On Thu, Jul 12, 2012 at 8:38 PM, Tommy Pham wrote:
> On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe
> wrote:
> > Hi all,
> >
> > Strangely PHP seems to let each class have its own layer of private scope
> > for member variables. If a subclass defines a member variable of the
> same
> > name as o
On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe wrote:
> Hi all,
>
> Strangely PHP seems to let each class have its own layer of private scope
> for member variables. If a subclass defines a member variable of the same
> name as one defined in the parent the values are maintained independently
> in
Hi all,
Strangely PHP seems to let each class have its own layer of private scope
for member variables. If a subclass defines a member variable of the same
name as one defined in the parent the values are maintained independently
in instances of the child class.
First off a simple class with a
5 matches
Mail list logo