No inheritance check in constructor ?

From: Date: Fri, 28 Oct 2011 15:22:53 +0000
Subject: No inheritance check in constructor ?
Groups: php.internals 
Request: Send a blank email to internals+get-55981@lists.php.net to get a copy of this message
Hi, Is it an expected behaviour ? See attached test file. ---- EXPECTED OUTPUT Strict Standards: Declaration of ObjChild::method() should be compatible with that of ObjParent::method() in %s on line 15 Strict standards: Declaration of ObjChild::__construct() should be compatible with that of ObjParent::__construct() in %s on line 17 ---- ACTUAL OUTPUT Strict Standards: Declaration of ObjChild::method() should be compatible with that of ObjParent::method() in %s on line 15 ---- FAILED NB : The real actual output of the phpt is empty. Can we test strict error with run-tests ? Regards, -- Jean-Sébastien H. au-fil-du.net

« previous php.internals (#55981) next »