The problem is that you are not looking for OR, but AND, e.g.,
if ($op !== 'value' && $op !== 'label')
If you really want to use OR, you need to transform the expression:
if (!($op == 'value' || $op == 'label'))
I prefer to use && and || instead of AND and OR, but they only differ in precedence.