Re: [PHP-DEV] Re: Regarding serialize

2009-08-18 Thread Evert | Filemobile
Protected properties are serialized as: 0x00 + * + 0x00 + property name The null characters don't show up in your console, but pipe the output through for example 'hexdump -C' and you should see them.. Evert On 19-Aug-09, at 1:37 AM, Chris Stockton wrote: Apologies for the double post, bu

[PHP-DEV] Re: Regarding serialize

2009-08-18 Thread Chris Stockton
Apologies for the double post, but the output might help... long day. Notice the strlen is different, as well as the truncation on escapeshellarg. -- string(43) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" string(45) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" bool(false) string(45) "'O:13:"te

[PHP-DEV] Regarding serialize

2009-08-18 Thread Chris Stockton
Hello, I have came across some strange behavior today, after some time I got it to the simplest form to reproduce. I have not yet attempted to patch/investigate the code within php source, I want to first confirm this is indeed a problem and I haven't just had a long day, as well as verify it is n

Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-18 Thread Johannes Schlüter
Hi, On Mon, 2009-08-17 at 19:12 +0200, Remi Collet wrote: > My goal will be to provides both solutions (libmysql and mysqlnd) to be > able to quickly switch from one to the other (for tests / benchmark) Like others said I'd go with different static builds - it's not like PHP would take ages to co

Re: [PHP-DEV] Re: SOAP_MARSHAL_DATETIME (or: bug #44383)

2009-08-18 Thread Johannes Schlüter
Hi, 1) please don't abuse another thread for something completely unrelated, that makes tracking things really hard. 2) Most of you want should be doable with 5.3's anonymous functions/closures. 3) More than that isn't really planned at the moment. johannes On Tue, 2009-08-18 at 12:46 +0300, Vil

Re: [PHP-DEV] Re: SOAP_MARSHAL_DATETIME (or: bug #44383)

2009-08-18 Thread Ville Jungman
1) it would be fun if code recycling was easier. nowadays extracting a function from code is sometimes complicated if you need to reuse it elsewhere. For example you have this ... while($numbers as $value){ while(...){ while(...){ ... do_something_with($value);