helly Mon Jan 28 22:43:21 2008 UTC
Modified files:
/php-src/ext/splspl_observer.c
/php-src/ext/spl/internal splobjectstorage.inc
Log:
- Make SplObjectStorage implement ArrayAccess
helly Wed Aug 10 17:56:02 2005 EDT
Added files:
/php-src/ext/spl/internal splobjectstorage.inc
/php-src/ext/spl/tests observer_002.phpt
Modified files:
/php-src/ext/splspl_observer.c
Log:
- Implement SplObjectStorage as
Wonderful idea Helly!
Andrey
Marcus Boerger wrote:
helly Wed Aug 10 17:56:02 2005 EDT
Added files:
/php-src/ext/spl/internal splobjectstorage.inc
/php-src/ext/spl/tests observer_002.phpt
Modified files:
/php-src/ext/spl
Hello Andrey,
thanks! I wanted to do it earlier but had no idea how to sole the problem.
I actually right from the beginning wanted to do all three in there. Anyway
you might also want to see t he last slides of my last presentation (the one
from OSCON) which you can find here:
Marcus Boerger wrote:
Hello Andrey,
thanks! I wanted to do it earlier but had no idea how to sole the problem.
I actually right from the beginning wanted to do all three in there. Anyway
you might also want to see t he last slides of my last presentation (the one
from OSCON) which you can
Hello Andrey,
wrong assumption. That is only the handle but only the handle+handler
combination is unique.
marcus
Thursday, August 11, 2005, 12:32:07 AM, you wrote:
Marcus Boerger wrote:
Hello Andrey,
thanks! I wanted to do it earlier but had no idea how to sole the problem.
I
Hello Andrei,
it would only help if the schema used is always the same so that it is
trustably unique. The following two lines achieve that:
char *key;
spprintf(key, 0, %s::%d, Z_OBJCE_P(obj)-name, obj-value.obj.handle);
Yep would help in a few edge cases and allow O(1) implementation of