Problem Statement
Which keyword is used to define an interface in PHP?
Explanation
An interface defines a set of methods that must be implemented by any class using it. It helps in achieving multiple inheritance in PHP.
Code Solution
SolutionRead Only
interface Animal { public function sound(); }
class Dog implements Animal { public function sound(){ echo 'Bark'; } }