This file is indexed.

/usr/share/doc/php-log/tests/display.phpt is in php-log 1.12.3-1.

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
--TEST--
Log: Display Handler
--INI--
date.timezone=UTC
--FILE--
<?php

require_once 'Log.php';

function test($name, $conf)
{
    echo "\nTesting $name Configuration\n";
    echo "------------------------------------------------------\n";

    $logger = Log::factory('display', '', $name, $conf);

    $logger->log("Info", PEAR_LOG_INFO);
    $logger->log("Error", PEAR_LOG_ERR);
    $logger->log("Debug", PEAR_LOG_DEBUG);
    $logger->log("Multi\nLine\nEntry", PEAR_LOG_INFO);

    echo "\n";
}

test('Default', array());
test('Line Break', array('linebreak' => "\n"));
test('Format', array('lineFormat' => '<!-- %4$s -->'));
test('Prepend / Append', array('error_prepend' => '<tt>',
                               'error_append' => '</tt>'));

--EXPECT--
Testing Default Configuration
------------------------------------------------------
<b>info</b>: Info<br />
<b>error</b>: Error<br />
<b>debug</b>: Debug<br />
<b>info</b>: Multi<br />
Line<br />
Entry<br />


Testing Line Break Configuration
------------------------------------------------------
<b>info</b>: Info
<b>error</b>: Error
<b>debug</b>: Debug
<b>info</b>: Multi<br />
Line<br />
Entry


Testing Format Configuration
------------------------------------------------------
<!-- Info --><br />
<!-- Error --><br />
<!-- Debug --><br />
<!-- Multi<br />
Line<br />
Entry --><br />


Testing Prepend / Append Configuration
------------------------------------------------------
<tt><b>info</b>: Info</tt><br />
<tt><b>error</b>: Error</tt><br />
<tt><b>debug</b>: Debug</tt><br />
<tt><b>info</b>: Multi<br />
Line<br />
Entry</tt><br />