blob: 310ca6f263998f416b9338f6d8e7c29a1959cab3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--TEST--
INI functions test
--POST--
--GET--
--FILE--
<?php
$ini1 = ini_get('include_path');
ini_set('include_path','ini_set_works');
echo ini_get('include_path')."\n";
ini_restore('include_path');
$ini2 = ini_get('include_path');
if ($ini1 !== $ini2) {
echo "ini_restore() does not work.\n";
}
else {
echo "ini_restore_works\n";
}
?>
--EXPECT--
ini_set_works
ini_restore_works
|