Guilherme Blanco schrieb: > Altho I found this idea really interesting, I have a suggestion for > it. Instead of use a function to handle new overloads, I suggest a > magic method, something like __new.
__new() was what I initially proposed to Johannes but IIRC there were some performance implications with that. Johannes? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php