Re: [PHP-DEV] Fwd: PHP Multicasting patch

2011-03-04 Thread Stas Malyshev
Hi! Could someone kindly take a look at the PHP multicasting patch? Is there a way to add some tests to it? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:/

Re: [PHP-DEV] streams problem in 5.3

2011-03-04 Thread Gustavo Lopes
On Fri, 04 Mar 2011 01:26:20 -, Stas Malyshev wrote: I try to do some complex code with custom streams and I have discovered the following problem: The code in main/streams/cast.c, specifically _php_stream_cast, creates fopencookie() synthetic stream for streams that are not actual f

Re: [PHP-DEV] streams problem in 5.3

2011-03-04 Thread Moriyoshi Koizumi
Hmm, it has already supported through ZEND_HANDLE_STREAM. So then, changing the interface of fopen_function to return zend_stream instead of FILE* should be fine. Moriyoshi On 2011/03/05, at 3:05, Moriyoshi Koizumi wrote: > It looks like the only solution is define a new stream type for zend_

Re: [PHP-DEV] streams problem in 5.3

2011-03-04 Thread Moriyoshi Koizumi
It looks like the only solution is define a new stream type for zend_stream that delegates stream operations to user-defined callbacks. Moriyoshi On 2011/03/04, at 10:26, Stas Malyshev wrote: > Hi! > > I try to do some complex code with custom streams and I have discovered the > following pro