Re: [PHP-DEV] Re: Using a stream function into another module

2009-11-30 Thread Jess Portnoy
Hi, stream_array_to_fd_set() is defined in ext/standard/streamsfuncs.c, not the header. But I see the actual complaint is on ext/sockets/sockets.c:877: undefined reference to `stream_array_to_fd_set'... What exactly did you do? May the source be with you, Best regards, Jess Portnoy Samuel

[PHP-DEV] PHP 5 Bug Summary Report

2009-11-30 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1551 total -- which includes 1000 feature requests) ===[*Directory/Filesystem functions] 49620 Suspended is_writeable does not work using netshare and normal user rights ==

[PHP-DEV] PHP 6 Bug Summary Report

2009-11-30 Thread internals
PHP 6 Bug Database summary - http://bugs.php.net/ Num Status Summary (106 total -- which includes 45 feature requests) ===[*General Issues]== 50189 Open [PATCH] - unicode byte order difference between SPARC and x86 ===

[PHP-DEV] ARGINFO and Userspace Type Hinting

2009-11-30 Thread William Martin
I have a curious example of what to me, appears to be a discrepancy (intentional or not, I don't know) between how ARGINFO is treated in extensions and Type Hinting is treated in userspace and I would appreciate some aid in clarification. For example, IteratorIterator::__construct(), the ARGINFO i

Re: [PHP-DEV] Re: Using a stream function into another module

2009-11-30 Thread Samuel ROZE
Thanks for you reply, These errors are in the ext/sockets/sockets.c file because I tried to add a function about sockets in this file which is using the "stream_array_to_fd_set", and others functions... If I include the ext/standard/streamsfuncs.c file, where functions are created, I've some erro

[PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread Arvind Srinivasan
When running a benchmarking workload on PHP that was configured with multi-threading support (--enable-maintainer-zts) I noticed that pthread_get_specific is invoked many times during the processing of a request. PHP code invokes TSRMLS_FETCH() (which ends up invoking ts_resource_ex) in a number of

Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread Pierre Joye
hi Arvind! Yes, to get rid of TSRMLS_FETCH is a very good thing as it is horribly slow (as you noticed). However it can't be done in 5.3 as it will break the ABI. About the patch itself, as it will break ABI anyway, I would go wit the solution 1) only. That's cleaner and consistent with what we u

Re: [PHP-DEV] Backporting bypass_shell and posix_pipe() from trunk to 5.3

2009-11-30 Thread Richard Quadling
2009/11/28 Jani Taskinen : > Gwynne Raskind wrote: >> >> Some while ago, I committed a patch to trunk which adds the shell_bypass >> option to proc_open() on UNIX. I'd like to backport that patch to 5.3.2, >> along with posix_pipe(), which helps quite a bit in using it. The patch can >> be found at

Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread Arvind Srinivasan
Hi Pierre, > slow (as you noticed). However it can't be done in 5.3 as it will > break the ABI. > I noticed that a recent fix (http://bugs.php.net/bug.php?id=49936) added TSRMLS_DC to an API in 5.3. http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/streams/php_stream_context.h?r1=29079

Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread Felipe Pena
2009/11/30 Arvind Srinivasan > Hi Pierre, > > > > slow (as you noticed). However it can't be done in 5.3 as it will > > break the ABI. > > > > I noticed that a recent fix (http://bugs.php.net/bug.php?id=49936) > added TSRMLS_DC to an API in 5.3. > > http://svn.php.net/viewvc/php/php-src/branches/

Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread Arvind Srinivasan
> It was reverted. ah..i missed that. sorry. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

2009-11-30 Thread jvlad
> Hi Pierre, > > >> slow (as you noticed). However it can't be done in 5.3 as it will >> break the ABI. >> > > I noticed that a recent fix (http://bugs.php.net/bug.php?id=49936) > added TSRMLS_DC to an API in 5.3. > http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/streams/php_stream_cont

[PHP-DEV] SVN Account Request: spacemonkey

2009-11-30 Thread Mitch Pirtle
Working on the MongoDB extension for PHP, by request of Kristina Chodorow (krist...@10gen.com). As well, working on related documentation updates. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php