Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Permit Type-Hinting from extensions #107
All extensions use
However Zend emits a bug systematically if the type info is given:
Scalar typehints imply an automatic convertion too, but not exactly in the same place.
The only thing the first commit prevents, is extensions to declare uncallable functions by using scalar typehints.
Comment on behalf of lstrojny at php.net:
While I would like to see this change merged, I think having a short RFC (https://wiki.php.net/rfc/voting) would be the right thing to do here as it might be a massive change. From my POV the RFC should discuss: