[PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Justin Hannus
My thoughts are: 1. Adding to many __methods is ugly. 2. Interesting subject though. Not to add to the flame but I've seen the need for more advanced overloading features in allot of the code I've been writing with PHP5. Consider the following example (C++ almost like, may slow down the engine b

Re: [PHP-DEV] Build issues with Mac OSX 10.4

2005-05-13 Thread D. Walsh
On May 12, 2005, at 05:39 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: --- "D. Walsh" <[EMAIL PROTECTED]> wrote: I've been trying to build PHP in Mac OS X Server 10.4.0 The OS is a fresh install with the appropriate graphic libs installed It fails to configure with the switch '--with-gd' c

[PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Justin Hannus
My thoughts are: 1. Adding to many __methods is ugly. 2. Interesting subject though. Not to add to the flame but I've seen the need for more advanced overloading features in allot of the code I've been writing with PHP5. Consider the following example (C++ almost like, may slow down the engine b

Re: [PHP-DEV] annoying DOM limitation

2005-05-13 Thread George Schlossnagle
On May 13, 2005, at 5:29 PM, Jared Williams wrote: While hacking on a PHPDoc -> WSDL generator, I ran into an annoying limitation in the dom extension: you can't add a namespace to a dom document unless you have an element in that namespace. Why might you want to do this? Well, a common thing is

RE: [PHP-DEV] annoying DOM limitation

2005-05-13 Thread Jared Williams
> > While hacking on a PHPDoc -> WSDL generator, I ran into an > annoying limitation in the dom extension: you can't add a > namespace to a dom document unless you have an element in > that namespace. Why might you want to do this? Well, a > common thing is to have your xml-schema types to b

Re: [PHP-DEV] annoying DOM limitation

2005-05-13 Thread Rob Richards
I had just posted a comment on your blog about this. $root->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xsd','http://www.w3.org/2001/XMLSchema'); should do exactly what you want. Rob George Schlossnagle wrote: While hacking on a PHPDoc -> WSDL generator, I ran into an annoying limita

[PHP-DEV] annoying DOM limitation

2005-05-13 Thread George Schlossnagle
While hacking on a PHPDoc -> WSDL generator, I ran into an annoying limitation in the dom extension: you can't add a namespace to a dom document unless you have an element in that namespace. Why might you want to do this? Well, a common thing is to have your xml-schema types to be specifi

Re: [PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Alex Knaub
Hello Marcus, 2005/5/13, Marcus Boerger <[EMAIL PROTECTED]>: > > what is a class based language? > > It means the language is based around the idea that all objects refer to a > certain class and you cannot dynamically add, change or remove members > (though php allows to dynamically add prope

Re: [PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Alex Knaub
2005/5/12, Marcus Boerger <[EMAIL PROTECTED]>: > Hello Alex, > > but PHP is a class based langauage which is very much different from what is a class based language? > prototype based langauages. Apart from that i already said that it would be > possible to add a special 'called_self' (or bett

Re: [PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Marcus Boerger
Hello Alex, Friday, May 13, 2005, 5:18:43 PM, you wrote: > 2005/5/12, Marcus Boerger <[EMAIL PROTECTED]>: >> Hello Alex, >> >> but PHP is a class based langauage which is very much different from > what is a class based language? It means the language is based around the idea that all objec

Re: [PHP-DEV] Re: Fw: win32 build broken

2005-05-13 Thread Andrey Hristov
In process of resolving - will be fixed quite soon. Andrey Rob Richards wrote: It's the mysqli extension due to this commit: http://news.php.net/php.cvs/31779 and the addition of my_global.h mysql config-win.h include has too many conflicting defines with TSRM, ZEND and PHP. cc'd Georg. Rob Seb

Re: [PHP-DEV] Re: Fw: win32 build broken

2005-05-13 Thread Rob Richards
It's the mysqli extension due to this commit: http://news.php.net/php.cvs/31779 and the addition of my_global.h mysql config-win.h include has too many conflicting defines with TSRM, ZEND and PHP. cc'd Georg. Rob Sebastian Bergmann wrote: HEAD built fine for me after April 26. But it broke (at l