Re: [PECL-DEV] Interesting APC behaviour

2012-10-27 Thread Rasmus Lerdorf
On 10/27/2012 03:50 PM, Stas Malyshev wrote: > Hi! > >> An APC-level fix might be to fix the include_once/require_once override >> implementation to go to the cache first to see if the inode is there and >> pull out the cached realpath and use that to check against the >> included_files list. The

Re: [PECL-DEV] Interesting APC behaviour

2012-10-27 Thread Stas Malyshev
Hi! > An APC-level fix might be to fix the include_once/require_once override > implementation to go to the cache first to see if the inode is there and > pull out the cached realpath and use that to check against the > included_files list. The downside is that we will likely end up with 2 > cache

[PECL-DEV] Interesting APC behaviour

2012-10-27 Thread Rasmus Lerdorf
Could you help me with a bit of a puzzle? Imagine a deploy system which used a symlink to atomically replace the docroot. In addition to that, say this deploy system just renamed an old directory, then rsynced on top of it in order to save rsync bandwidth and also to reuse inodes such that unchange

[PECL-DEV] [ANNOUNCEMENT] pthreads-0.0.36 (beta) Released.

2012-10-27 Thread PECL Announce
The new PECL package pthreads-0.0.36 (beta) has been released at http://pecl.php.net/. Release notes - Advancedments in Worker/Stackable functionality Better use of object funcionality protected methods provide synchronized access to instance methods for stackables, workers and thre

[PECL-DEV] [ANNOUNCEMENT] timezonedb-2012.8 (stable) Released.

2012-10-27 Thread PECL Announce
The new PECL package timezonedb-2012.8 (stable) has been released at http://pecl.php.net/. Release notes - Updated to version 2012.8 (2012h) Package Info - This extension is a drop-in replacement for the builtin timezone database that comes with PHP. You should only insta

Re: [PECL-DEV] Publishing in PECL php extension smtpmail

2012-10-27 Thread Anatoliy Belsky
Corrected fail example from the previous mail $smtpmail0 = smtpmail_connect("smtp0",42,"test","test","utf-8","\n"); $smtpmail1 = smtpmail_connect("smtp1",25,"test","test","utf-8","\n"); the second call would invalidate the data from $smtpmail0. On Sat, October 27, 2012 13:01, Anatoliy Belsky wro

Re: [PECL-DEV] Publishing in PECL php extension smtpmail

2012-10-27 Thread Anatoliy Belsky
Hi, i think it were much better to work with a resource instead of writing all the connection data into globals. Currently the code like this will work not as expected $smtpmail = smtpmail_connect("smtp0",42,"test","test","utf-8","\n"); $smtpmail = smtpmail_connect("smtp1",25,"test","test","utf-8

[PECL-DEV] Publishing in PECL php extension smtpmail

2012-10-27 Thread 李明贵
I am a php developer in china. I have worked six years on it .I love php and love opensource. I want to share something with others. smtpmail is a php extension, it use esmtp protocol to send email . I develop it because of usually php's function mail can't use in china.Use php to write a fsockope

[PECL-DEV] VCS Account Request: keminar

2012-10-27 Thread li minggui
Publishing php extension smtpmail in pecl -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php