Php Find If Key Exists In Array Literal Error