Annotation of embedaddon/php/tests/func/007.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>