xref: /PHP-7.4/tests/func/007.phpt (revision 782352c5)
1--TEST--
2INI functions test
3--FILE--
4<?php
5
6$ini1 =  ini_get('include_path');
7ini_set('include_path','ini_set_works');
8echo ini_get('include_path')."\n";
9ini_restore('include_path');
10$ini2 =  ini_get('include_path');
11
12if ($ini1 !== $ini2) {
13        echo "ini_restore() does not work.\n";
14}
15else {
16        echo "ini_restore_works\n";
17}
18
19?>
20--EXPECT--
21ini_set_works
22ini_restore_works
23