#19215 [NEW]: ini_set returning FALSE when shouldn't

From: Date: Tue, 03 Sep 2002 19:28:24 +0000
Subject: #19215 [NEW]: ini_set returning FALSE when shouldn't
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18325@lists.php.net to get a copy of this message
From: spam@mattbergin.co.uk Operating system: Slackware 8.1 (2.4.19) PHP version: 4.2.2 PHP Bug Type: PHP options/info functions Bug description: ini_set returning FALSE when shouldn't When I set a configuration directive which has no value defined initially, ini_set returns FALSE, even though the call succeeded. Example: var_dump(ini_get('error_log')); // bool(false) var_dump(ini_set('error_log', '/tmp/foo')); // bool(false) var_dump(ini_get('error_log')); // string(8) "/tmp/foo" -- Edit bug report at http://bugs.php.net/?id=19215&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19215&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19215&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19215&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19215&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19215&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19215&r=support Expected behavior: http://bugs.php.net/fix.php?id=19215&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19215&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19215&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19215&r=globals

« previous php.bugs (#18325) next »