--TEST-- Method override allows optional default argument --SKIPIF-- --FILE-- foo(1); ?> --EXPECTF-- Strict Standards: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in %s on line %d int(1) int(3)