Re: [PHP-GTK-DEV] Reflection woes
[email protected] ("Frédéric G. MARAND")
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
My reflection-based script seems to be working now, and it also put into light a three other symbol clashes in the PHP-GTK constants: Gdk::XOR Gdk::AND Gdk::OR These are also reserved PHP words. The problem with Traversable not being implementable in a script is really a PHP issue, not one with PHP-GTK. Andrei Zmievski a écrit : [...}> It's not a bug, but more of a mismatch between languages. Trying to > redefine "foreach" methods is kind of useless right now, because they > will not be called by anything, but with the upcoming virtual method > support, they will be. So we probably should think about migrating these > to a new name, possibly "for_each". [...]