--TEST-- Array type declaration --FILE-- --EXPECTF-- 3 Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type array, integer given, called in %s on line 7 and defined in %s:2 Stack trace: #0 %s(%d): foo(123) #1 {main} thrown in %s on line 2