cvs: php4 /tests/func 007.phpt
| From: | Yasuo Ohgaki | Date: | Wed, 03 Apr 2002 14:34:45 +0000 |
| Subject: | cvs: php4 /tests/func 007.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10835@lists.php.net to get a copy of this message | ||
yohgaki Wed Apr 3 09:34:45 2002 EDT
Added files:
/php4/tests/func 007.phpt
Log:
Added ini_set()/ini_get()/ini_restore() test
Index: php4/tests/func/007.phpt
+++ php4/tests/func/007.phpt
--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