Php Function Pass Array Into Functions Of Behavior