Php Function Pass Array To A Function Definition Is Not Allowed Here Before