January 2021
Intermediate to advanced
139 pages
1h 53m
English
Date: 2019-09-02
Author: Nikita Popov
Vote: 61/5
While union types can incur higher type checking cost they also provide more powerful means to help type inference and improve performance. As opcache improves over time I think we can expect the cost to decrease while the gain increases.
—Dik Takken
Type or null, using the special ?Type syntax.
array or Traversable, using the special iterable type.
Read now
Unlock full access