#47558 [Bgs]: ini_set not returning FALSE upon failure
| From: | scottmac@php.net | Date: | Wed, 04 Mar 2009 13:27:20 +0000 |
| Subject: | #47558 [Bgs]: ini_set not returning FALSE upon failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134402@lists.php.net to get a copy of this message | ||
ID: 47558
Updated by: scottmac@php.net
Reported By: jan dot ptacek at gmail dot com
Status: Bogus
Bug Type: PHP options/info functions
Operating System: linux
-PHP Version: 5.2.9
+PHP Version: 5.2.6
New Comment:
Bug reports should only be against the latest version, since I can't
reproduce this on 5.2.9, it can be assumed its fixed.
Previous Comments:
------------------------------------------------------------------------
[2009-03-04 12:50:24] jan dot ptacek at gmail dot com
I am really sorry for reporting wron version
I am actually on 5.2.6 and can't change that.
------------------------------------------------------------------------
[2009-03-04 12:37:44] scottmac@php.net
I can't reproduce this with 5.2.9
var_dump(ini_set('include_path', '/fooo/bar'));
results in a return of bool (false)
------------------------------------------------------------------------
[2009-03-04 12:16:36] jan dot ptacek at gmail dot com
Description:
------------
ini_set is not returning FALSE upon failure
Reproduce code:
---------------
ini_set('include_path', APP_DIR . DS . PATH_SEPARATOR .
ini_get('include_path'));
Expected result:
----------------
updated include_path or FALSE return value
Actual result:
--------------
old include_path is returned but new one is not set,
because include_path was configured using php_admin_value
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47558&edit=1