<?php interface test { public function test(); } class testy implements test { public function test() { } } $testy = new testy(); if ($testy instanceof test) { print_r('hello'); }
You have javascript disabled. You will not be able to edit any code.