Fixed php error for "in" operator