1.

What Is Final Keyword In Php?

Answer»

PHP INTRODUCES the final KEYWORD, which prevents child classes from overriding a method by prefixing the definition with final.

If the class itself is being DEFINED final then it cannot be EXTENDED. If the function itself is being defined final then it cannot be extended. 

PHP introduces the final keyword, which prevents child classes from overriding a method by prefixing the definition with final.

If the class itself is being defined final then it cannot be extended. If the function itself is being defined final then it cannot be extended. 



Discussion

No Comment Found