Support for union types enables moving more type information from phpdoc into function signatures, with advantages such as types being enforced and type information being less likely to become ...