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