Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Never For Parameter Types
»
RFC: Never For Parameter Types
Project Governance
Author
Jordan LeDoux
Parameters in PHP are contravariant to preserve Liskov substitution. This means that if class B extends class A, then redefines a function call, the entire type...
View Original
This RFC has not yet started voting