ID: 46034
Updated by: [EMAIL PROTECTED]
Reported By: php at ryank dot net
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: WinXP
PHP Version: 5.2.6
New Comment:
You may enclose the value with ' or " like in php.ini
Previous Comments:
------------------------------------------------------------------------
[2008-09-09 18:14:17] php at ryank dot net
This apparently works fine though...
C:\>php -r "print ini_get('include_path');" -d include
_path=.;c:\test1;c:\test2
.;c:\test1;c:\test2
------------------------------------------------------------------------
[2008-09-09 18:08:29] php at ryank dot net
Description:
------------
When using the -d flag in php-cli on the include_path directive, only
the first parameter is assigned to include_path.
C:\>php -v
PHP 5.2.6 (cli) (built: May 2 2008 18:02:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
Reproduce code:
---------------
C:\>php -r "print ini_get('include_path');" -d include
_path=c:\test1.ini;c:\test2.ini
Expected result:
----------------
c:\test1.ini;c:\test2.ini
Actual result:
--------------
c:\test1.ini
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46034&edit=1