Re: [PHP-DEV] leaks related with virtual_file_ex()

2006-09-18 Thread Nuno Lopes
On 17-Sep-06, at 8:03 AM, Nuno Lopes wrote: OK, first patch to fix the 'tests/lang/bug35176.phpt' specific problem: http://mega.ist.utl.pt/~ncpl/zend_include_memleak.txt There might be other issues with virtual_file_ex() that I haven't fully tested. Can you not simply add the free before th

Re: [PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread Dan Scott
On 18/09/06, LAUPRETRE François (P) <[EMAIL PROTECTED]> wrote: Maybe the documentation should be updated to state that dl() is not deprecated in the CLI SAPI. Good suggestion - done! Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.

[PHP-DEV] Zend Hash

2006-09-18 Thread Daniel Lopez
Hello, before nothing excuses by the semantics of this message, I am using a translator since nonhandling so well the English. I am about to to write my first extension, for which I need to use a table of hash. I was reviewing the implementation of zend_hash.h My question is: He is correct

[PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread P
Missing EOL corrected. F... Outlook ! -Original Message- OK. Thanks for your answers, I didn't see this problem with each thread restarting in an 'empty' state and having to reload extensions through the autoloader. Even if loaded extensions could be registered in shared memory, I agr

[PHP-DEV] pg_escape_string and pdo equivalent

2006-09-18 Thread Lukas Kahwe Smith
Hi, it seems that PHP was not updated to make use of PQescapeStringConn from libpq. Looking at ext/pgsql and pdo_pgsql they both still seem to be using PQescapeString. regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RE : [PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread P
OK. Thanks for your answers, I didn't see this problem with each thread restarting in an 'empty' state and having to reload extensions through the autoloader. Even if loaded extensions could be registered in shared memory, I agree: it is much better to remove dl() except in CLI mode. Maybe the

[PHP-DEV] CVS Account Request: frankitoy

2006-09-18 Thread Franklin Marcelo
To further extend my knowledge in php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: nandika

2006-09-18 Thread nandika Jayawardana
I would like to help maintain php axis2 extension which is implementing a web service api for php using axis2c. I have added server side to the existing code and compiled it on windows. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread Zeev Suraski
At 12:39 18/09/2006, P wrote: I never saw any argument justifying the removal of the dl() feature, even if the CLI SAPI keeps it. But I can give at least two against it : - If extensions cannot be loaded from the PHP code any more, it becomes impossible to autoload them when needed. As I wrote

Re: [PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread Rasmus Lerdorf
It is impossible to implement it reliably in any of the threaded sapis, so by definition it can only possibly work in a limited set of them which is why you shouldn't ever use it for any sort of portable code. CLI by definition is not threaded, so that is one case where it could stay. -Rasmus

[PHP-DEV] Re: What's wrong with dl?

2006-09-18 Thread P
I never saw any argument justifying the removal of the dl() feature, even if the CLI SAPI keeps it. But I can give at least two against it : - If extensions cannot be loaded from the PHP code any more, it becomes impossible to autoload them when needed. As I wrote in another message, one of the

[PHP-DEV] PHP 5 Bug Summary Report

2006-09-18 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (584 total including feature requests) ===[*Configuration Issues] 37919 Open PHP doesn't read the configurations propertly ===

[PHP-DEV] PHP 4 Bug Summary Report

2006-09-18 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (637 total including feature requests) ===[*Configuration Issues] 38670 Open Whole 4.4.x branch has problem with open_basedir option nested from Apache2