News for hackers. Stuff that matters.
Re:Union Types have been accepted for PHP 8 by melicerte on Sunday November 10, 2019 @04:49AM (#21497290)
I guess you have not read the post you are commenting. One of the rationale behind union types is to reduce the doc-block comments. It is also, I believe, one of the idea of introducing a stronger type system in PHP.

From the original post: [quote] Supporting union types in the language allows us to move more type information from phpdoc into function signatures, ... [/quote]

There are no comments on this comment yet.