<?php error_reporting(E_NOTICE | E_STRICT); class a { public function test($aArug) { echo $aArug; } } class b extends a { public function test($newName) { echo $newName; } } $b = new b(); $b->test();
You have javascript disabled. You will not be able to edit any code.