#19215 [Opn->Bgs]: ini_set returning FALSE when shouldn't
| From: | sniper@php.net | Date: | Tue, 03 Sep 2002 20:54:23 +0000 |
| Subject: | #19215 [Opn->Bgs]: ini_set returning FALSE when shouldn't | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18332@lists.php.net to get a copy of this message | ||
ID: 19215
Updated by: sniper@php.net
Reported By: spam@mattbergin.co.uk
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Slackware 8.1 (2.4.19)
PHP Version: 4.2.2
New Comment:
What's the bug here? If some ini setting is not set at all, what should
be returned else than false?
Previous Comments:
------------------------------------------------------------------------
[2002-09-03 15:28:24] spam@mattbergin.co.uk
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 this bug report at http://bugs.php.net/?id=19215&edit=1