tapos Posted August 22, 2007 Share Posted August 22, 2007 Hi, Can I create multiple constructors in PHP classes like Java?? Thanks -- Tapos Pal Quote 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 Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/66136-solved-multiple-constructor/#findComment-331257 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.