From:             [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:      5.3CVS-2008-01-23 (CVS)
PHP Bug Type:     Scripting Engine problem
Bug description:  INI parser no longer allows hyphens

Description:
------------
Trying to load PHP-GTK extensions led to the discovery that we now get a 
parser error (under doze, this is in the form of a message box). I tried
with a 5.3-dev from December and got a different message saying that the
hyphen is illegal syntax.

The INI directive, being for PHP-GTK, has a hyphen as part of its
extension prefix.

All works fine with current CVS for 5_2 branch.

Reproduce code:
---------------
extension=php_gtk2.dll
php-gtk.codepage=CP1250
php-gtk.extensions=php_gtk_libglade2.dll

Expected result:
----------------
Codepage used by PHP-GTK to change to CP1250, and the PHP-GTK extension
libglade to load.

Actual result:
--------------
(in a message box)

PHP Error
parse error in C:\sandbox\testarea\php.ini on line 10

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

Reply via email to