> DNF types are a way to mix intersection and union types together in a
> single type.
> For example:
>  [...]
>  - (Traversable&Countable)|array

I have yet to read the fine print, but this example was a motivating
case for me to start down the union-types road years ago. I would be
very happy to finally see this in the language!

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to