Re: Re: INI problem
| From: | Jani Taskinen | Date: | Wed, 23 Jan 2008 20:56:59 +0000 |
| Subject: | Re: Re: INI problem | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4093@lists.php.net to get a copy of this message | ||
Cool. I hope nobody goes and commits this though. I need to fix another
similar bug first.
--Jani
On Wed, 2008-01-23 at 19:21 +0000, Steph Fox wrote:
> Yep, that works. Attached is a patch containing your fix + a test with
> ext/date INI directives, please don't go committing that wholesale ;) I just
> built it and ran ini_get_all('date');
>
> There are also a couple of trivial ZE fixes in the patch that may or may not
> have been sorted by the time you get a chance to look at this. Dmitry aware.
>
> - Steph
>
> ----- Original Message -----
> From: "Jani Taskinen" <jani.taskinen@sci.fi>
> To: "Steph Fox" <steph@zend.com>
> Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net>
> Sent: Wednesday, January 23, 2008 11:17 AM
> Subject: [PHP-GTK-DEV] Re: INI problem
>
>
> >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/
> >
> > --
> > PHP-GTK Development Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--
Patches/Donations: http://pecl.php.net/~jani/