Hi, I'll try get straight to the point: class C1 {} class C2 extends C1 {}
abstract class Work1 { public function f1(C1 $c); } class Work2 extends Work1 { public function f1(C2 $c); } Here I get an an error regarding the prototype missmatch. Wouldn't it be nice to be able to tighted the requirement - C2 is still C1? Regards, Emil Ivanov -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php