Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-24 Thread Sascha Schumann
> I saw someone mentioned the performance of serialization. > Maybe we should have a competition similar to the longlong2str that MySQL had > a few years ago :) > Who writes the fastest and best written serialization/unserialization routines > for zval's. Are you aware that PHP's serialize for

Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-24 Thread Sascha Schumann
> The specific case I had was serializing an array containing a whole > bunch of arrays representing the data from tables in a database. I > don't recall how many rows there were, but the serialized data was > around 5 MB. This was on windows, and feels like realloc doing > over-time, so a fix co

[PHP-DEV] [PATCH] is_subclass_of(mixed, string)

2004-10-24 Thread Andrey Hristov
Hi, I have cooked a small patch which allows is_subclass_of() the accept not only an object as first parameter but a string as well. When string is passed the function checks whether the class specified is subclass of the second parameter class a{} class b{} extends a{} is_subclass_of("a", "a") //

Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-24 Thread Sean Coates
Sascha Schumann wrote: Are you aware that PHP's serialize format is used by various non-PHP modules as an exchange format? E.g. Perhaps serialized data could be contain a serializer version number/tag, in the future? If version info is not found, it could default to the old/current forma

RE: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-24 Thread David Zülke
> Pierre is also working on a new date ext (which seems to be maturing > from what little he told me on wednesday evening at a bar) which imho > PHP is desparately in need of. Pierre, can you give us a rundown of the > status? > > Then there is also PIMP :-) Yeah I'd love to have the chance to fi

RE: [PHP-DEV] PHP 5.1 roadmap

2004-10-24 Thread David Zülke
> +1 on unicode support. I think not having unicode support by default > really hurts PHP in the enterprise where applications must almost always > be internationalized. I know mbstring gets the job done, but it's > really hard to evangelize PHP as a choice technology when you have to > use an ex

Re: [PHP-DEV] [PATCH] is_subclass_of(mixed, string)

2004-10-24 Thread Andi Gutmans
This patch looks fine to me. Any objections before I commit it? Andi At 03:07 PM 10/24/2004 +0200, Andrey Hristov wrote: Hi, I have cooked a small patch which allows is_subclass_of() the accept not only an object as first parameter but a string as well. When string is passed the function checks wh