NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] Re: PHP 5 Baffles Me

David Mintz dmintz at davidmintz.org
Tue Aug 9 09:26:45 EDT 2005


On Tue, 9 Aug 2005, Joseph Crawford wrote:

> oh i see it's in the constructor, well it was changed ;)
>

Speaking of which I also noticed your constructor returned things. I
thought that constructors implicitly return an instance of their class and
nothing else -- that is, they can succeed and return a class instance,
throw an exception, or die. But maybe I am mistaken and should go back to
the books.

---
David Mintz
http://davidmintz.org/



More information about the talk mailing list