/usr/share/php/tests/Config/test/bug2780.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 | --TEST--
bug 2780 regression
--FILE--
<?php
set_include_path(dirname(dirname(__FILE__)) . ':' . get_include_path());
require_once 'Config.php' ;
$c1 = new Config_Container('section', 'root');
$c2 = new Config_Container();
$c1->addItem($c2);
// Convert your ini file to a php array config
echo $c1->toString('phparray', array('name' => 'php_ini'));
?>
--EXPECT--
|