Other types
iterable
- represents the iterable pseudo-type. Like arrays, iterables can have type parameters e.g.iterable<string, Foo>
.void
- can be used in a return type when a function does not return a value.resource
represents a PHP resource.closed-resource
represents a PHP resource that was closed (usingfclose
or another closing function).