Created
December 8, 2019 22:05
-
-
Save krmgns/91314ac2e46c880b99150d0867d75eba to your computer and use it in GitHub Desktop.
Another "uninitialized" thing..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A { protected int $x; } | |
class AA extends A { protected $x; } | |
// -> PHP Fatal error: Type of acme\AA::$ must be int (as in class acme\A) | |
No var name here "acme\AA::$". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment