From:             php at ryank dot net
Operating system: WinXP
PHP version:      5.2.6
PHP Bug Type:     CGI related
Bug description:  php cli -d include_path only accepts first parameter

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 bug report at http://bugs.php.net/?id=46034&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46034&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46034&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46034&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=46034&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=46034&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=46034&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=46034&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=46034&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=46034&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=46034&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=46034&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=46034&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=46034&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46034&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=46034&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=46034&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=46034&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46034&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=46034&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=46034&r=mysqlcfg

Reply via email to