- error_reporting: documentation ( source)
<?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();