- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19
- Fatal error: Method A::__call() must take exactly 2 arguments in /in/NbSW6 on line 5
Process exited with code 255.
<?php
class A {
function __call() {
echo "call";
}
static function __callStatic() {
echo "callStatic";
}
}
class B extends A {
function foo() {
parent::foo();
}
}
$b = new B();
$b->foo();