- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL | E_STRICT);
class A
{
private function test($a, $b, $c)
{
echo 'test';
}
}
class B extends A
{
private function test($d)
{
echo 'hello';
}
}
new B();