A Case Of Misplaced ParenthesisΒΆ

The closing parenthesis of the in_array() call may be misplaced, yet yield a valid PHP code, and even, a valid business case. This all depends on the actual value given to the $c variable.

It is most probably a bug, given the number of arguments in in_array().

../_images/misplaced_parenthesis.png