<?php interface A { } class B implements A { } $x = 'B'; var_dump( is_subclass_of( $x, 'A' ) );
You have javascript disabled. You will not be able to edit any code.