--TEST-- Test "or null"/"or be null" in type-checking errors for userland functions with iterable --FILE-- --EXPECTF-- TypeError: iterableF(): Argument #1 ($param) must be of type Traversable|array|null, int given, called in %s on line %d and defined in %s:%d Stack trace: #0 %s(%d): iterableF(1) #1 {main} TypeError: returnIterable(): Return value must be of type Traversable|array|null, int returned in %s:%d Stack trace: #0 %s(%d): returnIterable() #1 {main} TypeError: returnMissingIterable(): Return value must be of type Traversable|array|null, none returned in %s:%d Stack trace: #0 %s(%d): returnMissingIterable() #1 {main}