- error_reporting: documentation ( source)
<?php
// Everything you enter here will be executed by our servers. Try it!
error_reporting(E_ALL);
class AA
{
public function x($a)
{
$a = $b;
}
}
class BB extends AA
{
public function x($a, $b)
{
return parent::x($a);
}
}
$b = new BB();
$b->x(1, 2);