Test: /Zend/tests/bug60573.phpt - Version 5.4.0beta2-dev        

Feature/Change Request #60573 type hinting with "self" keyword causes weird errors
Submitted: 2011-12-20 10:56:31 Modified: 2012-03-02 03:32:33
From: jpauli Assigned: laruence
Status: Closed Package: Scripting Engine problem
PHP Version: 5.3.8 OS: *nix

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Strict Standards: Declaration of Bar1::setSelf() should be compatible with Foo1::setSelf(self $s) in %s/bug60573.php on line 12
001- Strict Standards: Declaration of Bar4::setSelf() should be compatible with Foo4::setSelf(Foo4 $s) in %sbug60573.php on line %d
003+ Strict Standards: Declaration of Bar2::setSelf() should be compatible with Foo2::setSelf(Foo2 $s) in %s/bug60573.php on line 24
004+
005+ Strict Standards: Declaration of Bar3::setSelf() should be compatible with Foo3::setSelf(parent $s) in %s/bug60573.php on line 39
003- Strict Standards: Declaration of Bar5::setSelf() should be compatible with Foo5::setSelf(Base $s) in %sbug60573.php on line %d
005- Fatal error: Declaration of Bar6::setSelf() must be compatible with Foo6::setSelf(Base $s) in %sbug60573.php on line %d
007+ Fatal error: Declaration of Bar6::setSelf() must be compatible with Foo6::setSelf(parent $s) in %s/bug60573.php on line 75