Re: [PHP-DEV] interfaces extending multiple interfaces

2004-01-16 Thread Andrey Hristov
Hi, Hans Lellelid wrote: Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it before was to have an interface implement other interfaces: interface

[PHP-DEV] CVS Account Request: ovidutu

2004-01-16 Thread Ovi Dutu
Learning -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] __toString() with strval() and settype()

2004-01-16 Thread Adam Maccabee Trachtenberg
On Fri, 16 Jan 2004, Sterling Hughes wrote: > > Adam Maccabee Trachtenberg wrote: > > >Anyone else care to chime in here? If we're really moving to RC1, I > > > > So to summarize that'd be > > echo, print, (string), strval() and settype() > > using __toString(), right? Sounds +1 to me. > > > > set

Re: [PHP-DEV] __toString() with strval() and settype()

2004-01-16 Thread Sterling Hughes
> Adam Maccabee Trachtenberg wrote: > >Anyone else care to chime in here? If we're really moving to RC1, I > > So to summarize that'd be > echo, print, (string), strval() and settype() > using __toString(), right? Sounds +1 to me. > settype() is a tricky one - i think it should fail for objects,

Re: [PHP-DEV] __toString() with strval() and settype()

2004-01-16 Thread Christian Schneider
Adam Maccabee Trachtenberg wrote: Anyone else care to chime in here? If we're really moving to RC1, I So to summarize that'd be echo, print, (string), strval() and settype() using __toString(), right? Sounds +1 to me. Right now strval() and settype() don't call __toString() but exit() does. - Chri

[PHP-DEV] interfaces extending multiple interfaces

2004-01-16 Thread Hans Lellelid
Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it before was to have an interface implement other interfaces: interface ExtendFileSelector implem

[PHP-DEV] why MSHUTDOWN isn't called?

2004-01-16 Thread david
i have noticed the MSHUTDOWN function of my extension isn't called if the .so in memory is different than those in disk. this can happen if i release a new .so and restart apache. for example, i observed the following: 1. cp .so to my extension dir 2. start apache 3. cp a new .so to my extension

Re: [PHP-DEV] __toString() with strval() and settype()

2004-01-16 Thread Adam Maccabee Trachtenberg
Anyone else care to chime in here? If we're really moving to RC1, I think it makes sense to lock down as many language-level features as soon as possible. -adam On Thu, 15 Jan 2004, Adam Maccabee Trachtenberg wrote: > On Thu, 15 Jan 2004, Marcus Boerger wrote: > > Marcus -- > > > Thursday, Janua

[PHP-DEV] [REPOST] MFH Request for Zend.c for Memory Leak

2004-01-16 Thread Michael Sisolak
In the ZendEngine2 zend_shutdown() the GLOBAL_CONSTANTS_TABLE is correctly destroyed and freed: #ifdef ZTS . . . zend_hash_destroy(GLOBAL_CONSTANTS_TABLE); free(GLOBAL_CONSTANTS_TABLE); . . . #endif Can this to MFHed into the PHP 4.3.x zend.c (where the GLOBAL_CONS

Re: [PHP-DEV] SimpleXML: Moving Forward

2004-01-16 Thread Christian Schneider
Marcus Boerger wrote: Just a node: The thing you saw required SXE objects implementing interface RecursiveIterator{reset(), hasMore(), key(), current(), next(), hasChildren(), getChildren()} Excuse my ignorance: As I wasn't at ApacheCon I'm not sure what Adam was talking about, is the SXE/Recursiv

Re: [PHP-DEV] SimpleXML: Moving Forward

2004-01-16 Thread Marcus Boerger
Hello Adam, Thursday, January 15, 2004, 6:01:58 PM, you wrote: > On Thu, 15 Jan 2004, Rob Richards wrote: >> Ignore the user space issue for right now as I dont go into that at all. I >> dont see iterators as being worthless, however there is a behavior clash >> between the iterators and the arr