Strict in_array check in Parser.php

Otherwise it doesn't throw an error for the cases when passed parameters array includes zero key.