NYCPHP Meetup

NYPHP.org

[nycphp-talk] OOP Newbie Building arrays in extended classes

David Mintz david at davidmintz.org
Tue Jan 29 12:18:06 EST 2013


On Tue, Jan 29, 2013 at 9:43 AM, Anthony Ferrara <ircmaxell at gmail.com>wrote:

> The constructor's return value is always ignored internally. So the only
> time the constructor's return is ever used is in a child-class.
>
> if (parent::__construct()) {
>     // blah
> }
>
>
You lost me there. If it's always ignored... always means always, right?

-- 
David Mintz
http://davidmintz.org/
Fight for social equality:
http://socialequality.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130129/90e3a96b/attachment.html>


More information about the talk mailing list