<?php interface HumanInterface { } class Human implements HumanInterface { } class Dog { } $human = new Human; echo is_a($human, 'HumanInterface') ? 'true' : 'false';
You have javascript disabled. You will not be able to edit any code.