Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Derick Rethans
On Thu, 9 Jun 2005, Andi Gutmans wrote: > I'll roll PHP 5.1 Beta 1 tomorrow. Hopefully we will then start getting some > very much needed feedback from the public for HEAD. I'll put the date time stuff in today then. (Before you wake up probably :). This will only replace strtotime() , we can dis

[PHP-DEV] strange php4.3.x foreach performance issue

2005-06-10 Thread Xuefer
"foreach ($arr as $k => $v)" is 2 times as faster as "foreach ($arr as $v)" in php4.3.x both test under lastest cvs. 4.3.12-dev testing with array[] = string $v: 2.5590002536774 $k=>$v: 0.7020001411438 $v each(): 1.025000333786 $k $v each(): 1.1790001392365 testing with array[] = array

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Pierre-Alain Joye
On Fri, 10 Jun 2005 09:07:26 +0200 (CEST) [EMAIL PROTECTED] (Derick Rethans) wrote: > On Thu, 9 Jun 2005, Andi Gutmans wrote: > > > I'll roll PHP 5.1 Beta 1 tomorrow. Hopefully we will then start > > getting some very much needed feedback from the public for HEAD. > > I'll put the date time stuf

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Andreas Korthaus
Hi! Andi Gutmans wrote: > I'll roll PHP 5.1 Beta 1 tomorrow. Hopefully we will then start > getting some very much needed feedback from the public for HEAD. Will pecl_http be included? (AFAIR something like that has been discussed earlier this year on this list) I'm asking because it's such a

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Andreas Korthaus
Hi! Andi Gutmans wrote: I'll roll PHP 5.1 Beta 1 tomorrow. Hopefully we will then start getting some very much needed feedback from the public for HEAD. Will pecl_http be included? (AFAIR something like that has been discussed earlier this year on this list) I'm asking because it's such a

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Wez Furlong
I was hoping to get a little bit more PDO hacking done (see last nights commits :) before the beta. I'm closing on my new house today and moving this weekend. I don't really want to delay the beta, but can we push it back until next weekend? --Wez. On 6/10/05, Derick Rethans <[EMAIL PROTECTED]> w

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Derick Rethans
On Fri, 10 Jun 2005, Andreas Korthaus wrote: > Andi Gutmans wrote: > > > I'll roll PHP 5.1 Beta 1 tomorrow. Hopefully we will then start getting some > > very much needed feedback from the public for HEAD. > > Will pecl_http be included? > (AFAIR something like that has been discussed earlier th

[PHP-DEV] Improving (?) PHP extension loading mechanism (was: Re: [PHP-CVS] cvs: php-src /ext/pdo pdo.c) (fwd)

2005-06-10 Thread Jani Taskinen
The patch in question can be found here: http://www.php.net/~jani/patches/exts_loading_poc.patch It is merely a quick proof-of-concept: a) Separates PHP extension registering and startup routines b) Adds an extra 'depends' entry to the module struct c) Nukes th

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Michael Wallner
Hi Andreas Korthaus, you wrote: > Will pecl_http be included? (AFAIR something like that has been > discussed earlier this year on this list) Hm, I must have missed that... Anyway it's still far away from stable - just compare the count of tests against the amount of functionality provided. Reg

Re: [PHP-DEV] Improving (?) PHP extension loading mechanism (was: Re: [PHP-CVS] cvs: php-src /ext/pdo pdo.c) (fwd)

2005-06-10 Thread Gareth Ardron
Jani Taskinen wrote: - Make it quicker. I haven't done any benchmarks but it's pretty obvious this does make the PHP startup slower.. Ok, slower in what way - I mean, lets assume apache1.3 is being used here, does it make the apachectl start slower, or does it make each indivdua

[PHP-DEV] object stack

2005-06-10 Thread Leonardo Pedretti
Is there any way of accessing the stack to check the objects loaded there? If it should be done through an extension, where would a hook be correctly placed? 10M Thanx Leo -- Leonardo Pedretti Axon Sistemas LĂ­der de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing Lis

Re: [PHP-DEV] incrementing boolean values

2005-06-10 Thread Jaap van Ganswijk
At 2005-06-06 08:37, Marcus Boerger wrote: >Sunday, June 5, 2005, 10:27:51 PM, you wrote: >> On Sun, 5 Jun 2005, Johannes Schlueter wrote: >>> PHP is a weak-typed language which casts in the background as required - at >>> least most of the time. Yes, but I think it doesn't always do it in an intu

Re: [PHP-DEV] incrementing boolean values

2005-06-10 Thread Marcus Boerger
Hello Jaap, Friday, June 10, 2005, 10:01:10 AM, you wrote: > NULL comes from C I think and stands for an uninitialized > pointer. There is no other way to empty a pointer except > by using 'pointer=(*char)0;', using NULL is more clear. you shall never cast 0 to anything since 0 matches any pointe

Re: [PHP-DEV] Improving (?) PHP extension loading mechanism (was: Re: [PHP-CVS] cvs: php-src /ext/pdo pdo.c) (fwd)

2005-06-10 Thread Marcus Boerger
Hello Gareth, Friday, June 10, 2005, 3:07:21 PM, you wrote: > Jani Taskinen wrote: >> >> - Make it quicker. I haven't done any benchmarks but it's pretty >> obvious >> this does make the PHP startup slower.. > Ok, slower in what way - I mean, lets assume apache1.3 is being used > he

[PHP-DEV] tip for people building on win32

2005-06-10 Thread Wez Furlong
Just thought I'd share this little bit of insight for people using the configure.js build system on win32. If you have your tree in the following configuration: php-src/ pecl/ and you only update php-src on a regular basis, you can get bitten. Some extensions live in both pecl and under php-src/