Re: __init magic method
From: Pete Boere Date: Tue, 22 Jan 2013 12:41:17 +0000 Subject: Re: __init magic method References: 1 2 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
> > What's your use case for this kind of static properties? What if you make > them private/protected and use an accessor method to initialize them (and > avoid the overhead during autoloading)? > It's the overhead of repeatedly calling an accessor method which I'd prefer to avoid. -- Pete Boere Web Developer
Thread (10 messages)
« previous | php.internals (#65080) | next » |
---|