(int) '420'; // No space between spread operator and cast. $a = function_call( ...(array) $mixed ); ]]> =(int) '420'; ]]>