51

Added Scalar Pseudo-type by Fleshgrinder · Pull Request #2987 · php/php-src · Gi...

 6 years ago
source link: https://github.com/php/php-src/pull/2987
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Contributor

@Fleshgrinder Fleshgrinder commented Dec 24, 2017

edited

This adds support for the scalar pseudo-type with parameter type contravariance and return type covariance to PHP. Please refer to the included tests to see what that means for you as a PHP developer.

sveneisenschmidt, willemstuursma, roshecode, ciaranmcnulty, Taluu, asherkin, karbowiak, MatyCZ, adhocore, ro0NL, and 2 more reacted with thumbs up emojikeradus, Wes0617, psafarov, mente, vtvz, divinity76, cjhaas, webhacking, andreasschroth, 0mars, and 3 more reacted with thumbs down emoji

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK