serverChangesGet('localhost', null, null, null, '//.../Experimental/README'); $has_change_1 = array_filter($changes_commands, function($c) { return $c->getChange() == '1'; }); assert(count($has_change_1) == 1);