#46811 [Asn->Csd]: ini_set() doesn't return false on failure
| From: | bjori@php.net | Date: | Fri, 12 Dec 2008 09:21:55 +0000 |
| Subject: | #46811 [Asn->Csd]: ini_set() doesn't return false on failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131937@lists.php.net to get a copy of this message | ||
ID: 46811
Updated by: bjori@php.net
Reported By: hannes dot magnusson at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: PHP options/info functions
Operating System: Linux
PHP Version: 5.2.8
Assigned To: bjori
New Comment:
..won't be fixed in 5.2
Previous Comments:
------------------------------------------------------------------------
[2008-12-09 10:25:11] bjori@php.net
Fixed in HEAD and 5.3.
Waiting for 5.2 status report...
------------------------------------------------------------------------
[2008-12-09 10:04:29] hannes dot magnusson at gmail dot com
Description:
------------
ini_set() doesn't return false when updating PHP_INI_ALL entries that
can fail.
Reproduce code:
---------------
<?php
var_dump(ini_set("arg_separator.output", ""));
var_dump(ini_get("arg_separator.output"));
?>
Expected result:
----------------
bool(false)
string(1) "&"
Actual result:
--------------
string(1) "&"
string(1) "&"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46811&edit=1