<?php class First { } class Second extends First { } function x(First $f) { var_dump($f); } x(new Second());
You have javascript disabled. You will not be able to edit any code.