Re: [PHP-DEV] realpath() caching

2004-09-20 Thread Alan Knowles
Just a thought, should clearstatcache() force the reset of the cache? I cant think of many situations where you would re-build directory tree's on the fly, but you never know what to expect from PHP users :) Regards Alan Andi Gutmans wrote: Thanks for pointing out that the attachment didn't make

Re: [PHP-DEV] realpath() caching

2004-09-20 Thread Andi Gutmans
Thanks for pointing out that the attachment didn't make it through. You can find it at: http://snaps.php.net/~andi/realpath_cache2.diff Andi At 06:28 PM 9/20/2004 -0700, Andi Gutmans wrote: Hi, Attached is the promised patch to do realpath() caching. You can set cache size and TTL via the php.ini

[PHP-DEV] realpath() caching

2004-09-20 Thread Andi Gutmans
Hi, Attached is the promised patch to do realpath() caching. You can set cache size and TTL via the php.ini (default is 2 minutes TTL and 16K memory). It doesn't use the SAPI time() but uses the syscall time() because it seemed to be slightly faster but we can adjust it to use the SAPI one if an

Re: [PHP-DEV] Intel icc compiler warnings

2004-09-20 Thread Andi Gutmans
I have done some playing around with Intel compiler. It usually tends to be faster 10-20% but it depends on the flags you use, inlining of the program (Intel compiler seems to optimize inlines much better). Andi At 10:34 PM 9/18/2004 -0700, Rasmus Lerdorf wrote: Out of curiosity I built HEAD with

[PHP-DEV] hypot() on windows

2004-09-20 Thread Nuno Lopes
Hello, I was writing the docs for hypot() and I've discovered it is not avaliable on windows, because of a '#ifdef HAVE_HYPOT'. The problem is that HAVE_HYPOT is not defined, but should be: http://msdn.microsoft.com/library/en-us/vccore98/HTML/_crt__hypot.asp Can someone please correct this, pl

[PHP-DEV] User defined session handlers

2004-09-20 Thread Sara Golemon
The sessions extension allows customizable modules for session storage via callbacks. Module callbacks expect SUCCESS or FAILURE as return values as illustrated in the use of session opener below: if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) { Howe

[PHP-DEV] PHP 5 Bug Summary Report

2004-09-20 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (399 total including feature requests) ===[*Compile Issues]== 28103 Open During ./configure you get png error instead of iodbc 28297 Open (SNMP) make instal

RE: [PHP-DEV] Win32 sendmail.c doesn't respect DST

2004-09-20 Thread Carter, John
Hi, I sent the patch for this a week ago, has anyone had chance to look at it? John. John Carter [EMAIL PROTECTED] Analyst Programmer Integro Team IT Department Royal London (44) 1625 605735 The contents of this e-mail are confidential and for the addressee only. If you are not the addressee

[PHP-DEV] PHP 4 Bug Summary Report

2004-09-20 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (828 total including feature requests) ===[*Configuration Issues] 29208 Open The variable name which ext_skel generates, and the variable name which configu 30136 Op