This file is indexed.

/usr/share/php/Horde/Argv/Values.php is in php-horde-argv 2.0.9-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
 * @author   Chuck Hagenbuch <chuck@horde.org>
 * @author   Mike Naberezny <mike@maintainable.com>
 * @license  http://www.horde.org/licenses/bsd BSD
 * @category Horde
 * @package  Argv
 */

/**
 * Result hash for Horde_Argv_Parser
 *
 * @category Horde
 * @package  Argv
 */
class Horde_Argv_Values implements IteratorAggregate, ArrayAccess, Countable
{
    public function __construct($defaults = array())
    {
        foreach ($defaults as $attr => $val) {
            $this->$attr = $val;
        }
    }

    public function __toString()
    {
        $str = array();
        foreach ($this as $attr => $val) {
            $str[] = $attr . ': ' . (string)$val;
        }
        return implode(', ', $str);
    }

    public function offsetExists($attr)
    {
        return !is_null($this->$attr);
    }

    public function offsetGet($attr)
    {
        return $this->$attr;
    }

    public function offsetSet($attr, $val)
    {
        $this->$attr = $val;
    }

    public function offsetUnset($attr)
    {
        unset($this->$attr);
    }

    public function getIterator()
    {
        return new ArrayIterator(get_object_vars($this));
    }

    public function count()
    {
        return count(get_object_vars($this));
    }

    public function ensureValue($attr, $value)
    {
        if (is_null($this->$attr)) {
            $this->$attr = $value;
        }
        return $this->$attr;
    }

}