While the field "Content: Group content visibility" should return the visibility Private / Public / Default to the $row object, instead it returns the node id. I need to this row variable in a PHP filter.

I tried to use the "Content: Group content visibility" filter before, but apparently it seems to suffer from the same problem.

When I use dpm($view) to display this object I see:

$view->field['group_content_access']->∞ (recursion)