1.

What is the difference between overloading and overriding in PHP?

Answer»
FUNCTION overloadingfunction overriding
The OOPs feature function overloading CONSISTS same function name and the function performs VARIOUS tasks according to the number of arguments.In OOPs feature function overriding, both child and PARENT CLASSES will have the same function name and a different number of arguments.


Discussion

No Comment Found