Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Rasmus Lerdorf
> Analyzing PHP's routines a bit, it seems that the slowest part of a > "generic" request is populating the special arrays, $_ENV, $_GET, etc. Do you have any profiling evidence of this? Everything I have looked at points squarely at the parts of PHP that requires a system call. Reducing syste

[PHP-DEV] More Apache than PHP

2003-03-01 Thread Timothy Hitchens \(HiTCHO\)
Greetings All... Usually I am helping others on the list but this time I am asking for help!! I was wondering if someone could offer some clarity for me as my years of using Apache has never seen the following as a possibility. Background: This server is using PHP along with Apache If a server

[PHP-DEV] session extension question

2003-03-01 Thread George Schlossnagle
Any feelings on a patch to the session extension so that if session_set_save_handler is passed a class or namespace as it's sole argument, it auto-registers class::open, class::close, class::read, class::write, class::destory and class::gc? George -- PHP Development Mailing List

[PHP-DEV] [PATCH] - 64 bit issue with zend_parse_parameters calls

2003-03-01 Thread Dave Hill
Hi all, I am back again Diff against php4-STABLE-200302241430 (without the last patch I suggested) Applies to 4.5.x and 5.x as well. Affects any 64 bit OS. I ran into another problem after I turned optimization back on. Usually these are hell to find, but Julien Soula (who I met through the

[PHP-DEV] Re: main/network.c

2003-03-01 Thread Wez Furlong
Hi marcus, Moriyoshi is going to revert the HAVE_INET_NTOP part; I have to go out now, so I won't be able to address the warnings right away, but will look at them later. --Wez. On Sat, 1 Mar 2003, Marcus [iso-8859-1] Börger wrote: > Hi Wez, > > i cannot compile current network.c. The following

[PHP-DEV] main/network.c

2003-03-01 Thread Marcus Börger
Hi Wez, i cannot compile current network.c. The following patch fixes two warnings and one error but one warning is left: /usr/src/php4-HEAD/main/network.c: In function `php_network_accept_incoming': /usr/src/php4-HEAD/main/network.c:608: warning: `error' might be used uninitialized in this func

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Sterling Hughes
On Sat, 2003-03-01 at 13:09, Faisal Nasim wrote: > At 10:26 PM 3/1/2003, Marcus Börger wrote: > > At 18:11 01.03.2003, Derick Rethans wrote: > > > On Sat, 1 Mar 2003, Sterling Hughes wrote: > > > > > > > Analyzing PHP's routines a bit, it seems that the slowest part > > > of a > > > > "generic" re

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Marcus Börger
At 18:11 01.03.2003, Derick Rethans wrote: On Sat, 1 Mar 2003, Sterling Hughes wrote: > Analyzing PHP's routines a bit, it seems that the slowest part of a > "generic" request is populating the special arrays, $_ENV, $_GET, etc. > > I was wondering if it might be possible to "tie" these arrays to

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Sterling Hughes
On Sat, 2003-03-01 at 12:11, Derick Rethans wrote: > On Sat, 1 Mar 2003, Sterling Hughes wrote: > > > Analyzing PHP's routines a bit, it seems that the slowest part of a > > "generic" request is populating the special arrays, $_ENV, $_GET, etc. > > > > I was wondering if it might be possible to "

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Derick Rethans
On Sat, 1 Mar 2003, Sterling Hughes wrote: > Analyzing PHP's routines a bit, it seems that the slowest part of a > "generic" request is populating the special arrays, $_ENV, $_GET, etc. > > I was wondering if it might be possible to "tie" these arrays to a > function (if you don't understand that

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Moriyoshi Koizumi
George Schlossnagle <[EMAIL PROTECTED]> wrote: > Having this sort of functionaility in general would be great. I know > you can affect this with objects via overload, but it is useful for > scalars and arrays and streams as well. It is pretty 'magical' though. Then how about allowing access t

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread Sterling Hughes
On Sat, 2003-03-01 at 11:51, George Schlossnagle wrote: > Having this sort of functionaility in general would be great. I know > you can affect this with objects via overload, but it is useful for > scalars and arrays and streams as well. It is pretty 'magical' though. > Yeah - but just to be

Re: [PHP-DEV] Tie'ing variables

2003-03-01 Thread George Schlossnagle
Having this sort of functionaility in general would be great. I know you can affect this with objects via overload, but it is useful for scalars and arrays and streams as well. It is pretty 'magical' though. George On Saturday, March 1, 2003, at 11:26 AM, Sterling Hughes wrote: I was wonder

[PHP-DEV] Tie'ing variables

2003-03-01 Thread Sterling Hughes
Hi, Analyzing PHP's routines a bit, it seems that the slowest part of a "generic" request is populating the special arrays, $_ENV, $_GET, etc. I was wondering if it might be possible to "tie" these arrays to a function (if you don't understand that, look at Perl for a definition). One could popu

Re: [PHP-DEV] #php.bugs invite only?

2003-03-01 Thread Harald Radi
"Andi Gutmans" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:<[EMAIL PROTECTED]>... > At 12:12 PM 2/28/2003 -0500, Ilia A. wrote: > >On February 28, 2003 11:50 am, George Schlossnagle wrote: > > > #php.bugs seems to be invite only now. How do I go about getting > > > myself invited? > > > >It

[PHP-DEV] PHP 4 Bug Summary Report

2003-03-01 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (1051 total including feature requests) ===[*Configuration Issues] 19282 Wont fix Place php4ts.dll into \sapi 20490 Analyzed enable versioning not supported on OSX 2068

Re: [PHP-DEV] PHP_CHECK_FUNC and shared extension (OCI8)

2003-03-01 Thread Sascha Schumann
> how do I use PHP_CHECK_FUNC to make it work even when the extension is > shared? You can manipulate LDFLAGS directly: php_save=$LDFLAGS LDFLAGS="-L$dir $LDFLAGS" .. check .. LDFLAGS=$php_save - Sascha -- PHP Development Mailing List To unsubscr

[PHP-DEV] PHP_CHECK_FUNC and shared extension (OCI8)

2003-03-01 Thread Michael Mauch
Hi, how do I use PHP_CHECK_FUNC to make it work even when the extension is shared? In ext/oci8/config.m4, if I use PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD) PHP_CHECK_FUNC(OCILobIsTemporary, clntsh, ocijdbc8) it works when configured --with-oci8, but not with --with-oci8=shared. Wi

Re: [PHP-DEV] ZE2 constructors

2003-03-01 Thread Andi Gutmans
The patch look OK. Go ahead and commit it. Andi At 08:20 PM 2/28/2003 +0100, Marcus Börger wrote: Hi Zeev, according to the plans the following test file should PASS: --TEST-- The new constructor/destructor is called --SKIPIF-- --FILE-- class early { function early() {