On Jun 19, 2006, at 10:36 PM, Steph Fox wrote:
Internal extension name is still 'gtk'. It's not possible to put a hyphen in an internal name. (I know, I tried.)
The internal name is still "php-gtk". Check line 52 in http:// cvs.php.net/viewvc.cgi/php-gtk/main/php_gtk.c?revision=1.55&content- type=text%2Fplain&pathrev=1.55
The one I just rewrote? :) The external name (the one PHP users see) hasn't changed, it's always been php-gtk.
I am not sure why you say that it's impossible to put a hyphen in there.
Because what you mean by 'internal' and what I mean by 'internal' are obvously two different things, and it _is_ impossible to have php-gtk_global_id (for example). The preprocessor cries if you do that. I tried because a non-impacting fix for the module loading/unloading issues we saw lately would _need_ to rely on that 'visible to users' name becoming the real internal name. I think Stig believed it would go that way at some point too - he left a note somewhere saying the handle and the name should match up, and in the vast majority of cases it does.
- Steph
-Andrei