Answers

Question and Answer:

  Home  Senior PHP Programmer

⟩ What is the use of final keyword in PHP?

PHP 5 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.

 202 views

More Questions for you: