Re: INI problem
| From: | Jani Taskinen | Date: | Wed, 23 Jan 2008 11:17:34 +0000 |
| Subject: | Re: INI problem | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4088@lists.php.net to get a copy of this message | ||
I look into this once I get some free time. I'm quite busy at work right
now. It's simple though, you just need to allow the name have hyphen in
it. Propably just changing this line in zend_ini_scanner.l:
LABEL [a-zA-Z0-9][a-zA-Z0-9._]*
to
LABEL [a-zA-Z0-9][a-zA-Z0-9._-]*
No time to test right now. :)
--Jani
On Tue, 2008-01-22 at 22:44 +0000, Steph Fox wrote:
> Hi all,
>
> I went to fix the shared build issue on *nix and discovered we can't load
> PHP-GTK extensions in 5.3.0 even under Windows. Hyphens are illegal syntax
> in INI directives now. (I know this because an old 5.3-dev told me so - the
> current message is rather less helpful, it just says 'parse error'.)
>
> Renaming our INI directives to use underscores doesn't work because the
> prefix needs to match the extension name...
>
> Jani, can you assist?
>
> Thanks,
>
> - Steph
>
--
Patches/Donations: http://pecl.php.net/~jani/