<?php class Foo { function bbb() {} } class Bar extends Foo { function aaa() { var_dump(is_callable('parent::bbc')); } } $f = new Bar;$f->aaa();
You have javascript disabled. You will not be able to edit any code.