|
Posted by Wayne on 02/13/06 20:10
On Mon, 13 Feb 2006 18:49:52 +0100, Schraalhans Keukenmeester
<none@nowhere.nil> wrote:
>Hi
>
>Since PHP5 classes use the __constructor() method, and PHP4 still
>requires the classname as constructor, is there an easy way to
>incorporate both in my class definitions so the class is usable in both
>versions?
Nothing is stopping you from declaring both... one will be called in
PHP4, the other in PHP5. You can then make a call from one to the
other, if you like.
[Back to original message]
|