This file is indexed.

/usr/share/php/tests/Config/test/bug10010.phpt is in php-config 1.10.12-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
--TEST--
regression test for bug #10010
--FILE--
<?php
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';

$aTrans = array(
		'foo' => 'bar',
		'aMonths' => array(
			1 => 'January',
			2 => 'February',
			3 => 'March',
			4 => 'April',
			5 => 'May',
			6 => 'June',
			7 => 'July',
			8 => 'August',
			9 => 'September',
			10 => 'October',
			11 => 'November',
			12 => 'December',)
		);


$c = new Config();
$root = & $c->parseConfig($aTrans,
		'phparray',
		array('duplicateDirectives' => false));
$filename = './bug10010-output.php';
$result = $c->writeConfig($filename,
		'phparray',
		array('name' => 'words'));

include($filename);
print_r($words)

?>
--CLEAN--
<?php
unlink('bug10010-output.php');
?>
--EXPECT--
Array
(
    [foo] => bar
    [aMonths] => Array
        (
            [1] => January
            [2] => February
            [3] => March
            [4] => April
            [5] => May
            [6] => June
            [7] => July
            [8] => August
            [9] => September
            [10] => October
            [11] => November
            [12] => December
        )

)