How to Overload PHP Class Constructors

I was going nuts without the capability of overloading a php class constructor until I found the following post on Overflow: Why can’t I overload constructors in PHP? Basically there are 2 alternatives listed, using variable arguements for a class constructor is one. I didn’t choose this one for my current project  Example as provided on the php.net Read more […]