ID: 43915 Updated by: [EMAIL PROTECTED] -Summary: INI parser no longer allows hyphens Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned Bug Type: Scripting Engine problem Operating System: irrelevant PHP Version: 5.3CVS-2008-01-23 (CVS) -Assigned To: +Assigned To: jani New Comment:
Assigning to myself, gotta check out later. The directive follow the rule of PHP variable names: hyphen (-) is illegal in those too. But then again, dot (.) is allowed in INI directive names. :D Previous Comments: ------------------------------------------------------------------------ [2008-01-23 02:59:17] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=43915&edit=1