public function limitArray($var, $depth, array &$references)
    {
        foreach ($var as &$value) {
            $value = $this->limit($value, $depth + 1, $references);
            unset($value);
        }

        return $var;
    }
public function limitArray($var, $depth, array &$references)
    {
        foreach ($var as &$value) {
            $value = $this->limit($value, $depth + 1, $references);
            unset($value);
        }

        return $var;
    }
public function limitArray ( $ var , $ depth , array & $ references ) { foreach ( $ var as & $ value ) { $ value = $ this -> limit ( $ value , $ depth + 1 , $ references ) ; unset ( $ value ) ; } return $ var ; }
Limits dumped array

@param mixed $var
@param int   $depth
@param array $references

@return string
Limits dumped array