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