tapos Posted August 22, 2007 Share Posted August 22, 2007 Hi, Can I create multiple constructors in PHP classes like Java?? Thanks -- Tapos Pal Link to comment https://forums.phpfreaks.com/topic/66136-solved-multiple-constructor/ Share on other sites More sharing options...
tapos Posted August 22, 2007 Author Share Posted August 22, 2007 I have found the solution. Thanks -- Tapos Pal Link to comment https://forums.phpfreaks.com/topic/66136-solved-multiple-constructor/#findComment-330824 Share on other sites More sharing options...
keeB Posted August 22, 2007 Share Posted August 22, 2007 The short answer, as you may have found, is No. The long answer is you can mimick such behavior, but it's cumbersome. Link to comment https://forums.phpfreaks.com/topic/66136-solved-multiple-constructor/#findComment-331007 Share on other sites More sharing options...
redbullmarky Posted August 22, 2007 Share Posted August 22, 2007 I have found the solution. Thanks -- Tapos Pal if you've found the solution, by all means share it so myself and others who may be new to certain things can learn a trick or two Link to comment https://forums.phpfreaks.com/topic/66136-solved-multiple-constructor/#findComment-331257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.