Hello All ,
I'm a little bit confused about function and constructor overloading in PHP 5.0
I know PHP does not support operator overloading. However if I have to realize the advantages of function overloading, I also understand __call() plays a role. However A question still pings up in my mind , Is Overloading supported in PHP 5.0 ? Also in a sense operator overloading is also supported , + supplies a different meaning when applied to arrays!
Can anyone clear my doubts ? I will highly appreciate.
Thank you all for reading this thread and replying.
Best Regards,
Abhijit
I'm a little bit confused about function and constructor overloading in PHP 5.0
I know PHP does not support operator overloading. However if I have to realize the advantages of function overloading, I also understand __call() plays a role. However A question still pings up in my mind , Is Overloading supported in PHP 5.0 ? Also in a sense operator overloading is also supported , + supplies a different meaning when applied to arrays!
Can anyone clear my doubts ? I will highly appreciate.
Thank you all for reading this thread and replying.
Best Regards,
Abhijit
Comment