#47558 [Bgs]: ini_set not returning FALSE upon failure
| From: | jan dot ptacek at gmail dot com | Date: | Wed, 04 Mar 2009 12:50:24 +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-134401@lists.php.net to get a copy of this message | ||
ID: 47558
User updated by: jan dot ptacek at gmail dot com
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
New Comment:
I am really sorry for reporting wron version
I am actually on 5.2.6 and can't change that.
Previous Comments:
------------------------------------------------------------------------
[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