NYCPHP Meetup

NYPHP.org

[nycphp-talk] multiple constructors

George Schlossnagle george at omniti.com
Wed Sep 29 17:21:23 EDT 2004


On Sep 29, 2004, at 5:19 PM, Matthew Terenzio wrote:

> Can I have multiple constructors, a certain one being called depending 
> on the number or type of parameters passed to the class upon 
> instantiation.

No.  PHP does not support multi-method dispatch at all.

George




More information about the talk mailing list