Php Pass Variable To Inline Function Syntax Matlab For Loop