[PHP-DEV] PHP 5.0.x state

2006-04-27 Thread Soenke Ruempler
Hi folks, Maybe I missed something or didn't read it, but what's the state of PHP 5.0.x? I guess it will not be updated anymore - so 5.1 is the way to go (or to update), aight? Thx, --soenke -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-DEV] Passing functions to function by reference

2006-04-27 Thread Peter Brodersen
On Thu, 27 Apr 2006 17:24:55 -0400, in php.internals [EMAIL PROTECTED] (Rasmus Lerdorf) wrote: >It also tends to be a bug. Most functions that take an argument by >reference do so for a reason. There are of course exceptions to this as >you have pointed out and in those cases assuming your cod

Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Wez Furlong
On 4/27/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: This one time, at band camp, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > The manual doesn't tell you that you can use spaces, so simply don't do it. but in this example we have a space and it works mysql: host = localhost; dbname=test The ma

Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Kevin Waterson
This one time, at band camp, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > The manual doesn't tell you that you can use spaces, so simply don't do it. but in this example we have a space and it works mysql: host = localhost; dbname=test Kevin -- "Democracy is two wolves and a lamb voting on what

Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Wez Furlong
The manual doesn't tell you that you can use spaces, so simply don't do it. --Wez. On 4/27/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: > Not a bug, but inconsistant behavior in PDO when calling > $dsn = new PDO("sqlite: dbname.sdb"); > > The space after the colon _should_ be encoded but if not

Re: [PHP-DEV] Passing functions to function by reference

2006-04-27 Thread Rasmus Lerdorf
Brion Vibber wrote: Rasmus Lerdorf wrote: PHP 5.0 broke this. There was a fatal error on the array_shift that only variables could be passed by reference. There was a good argument for it. So, we started migrating our code. Well, seems this works in 5.1. So, my question is, was it an intent

Re: [PHP-DEV] Passing functions to function by reference

2006-04-27 Thread Petar Nedyalkov
On Thursday 27 April 2006 23:01, Brion Vibber wrote: > Rasmus Lerdorf wrote: > >> PHP 5.0 broke this. There was a fatal error on the array_shift that > >> only variables could be passed by reference. There was a good > >> argument for it. So, we started migrating our code. > >> > >> Well, seems

Re: [PHP-DEV] Passing functions to function by reference

2006-04-27 Thread Brion Vibber
Rasmus Lerdorf wrote: >> PHP 5.0 broke this. There was a fatal error on the array_shift that >> only variables could be passed by reference. There was a good >> argument for it. So, we started migrating our code. >> >> Well, seems this works in 5.1. So, my question is, was it an >> intentional

Re: [PHP-DEV] about shuffle()

2006-04-27 Thread Hannes Magnusson
Turn on E_STRICT. Read php.net/shuffle again. Read php.net/mailing-lists again. And at last, if you still have a problem, read http://bugs.php.net/how-to-report.php -Hannes On 4/27/06, xuefengal <[EMAIL PROTECTED]> wrote: > hi,all > > i have a problem. > > try this code on win2003,iis6,php5.1.1(

[PHP-DEV] about shuffle()

2006-04-27 Thread xuefengal
hi,all i have a problem. try this code on win2003,iis6,php5.1.1(isapi) function _1_2($n) { $tmp = array(); return shuffle($tmp = range(1,$n); } echo(''.print_r(_1_2(8),True).''); result Array ( [0] => 6 [

[PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Kevin Waterson
Not a bug, but inconsistant behavior in PDO when calling $dsn = new PDO("sqlite: dbname.sdb"); The space after the colon _should_ be encoded but if not it fails and needs correctly to read $dsn = new PDO("sqlite:dbname.sdb"); Pierre pointed to a user note in the manual http://www.php.net/manua

Re: [PHP-DEV] Static properties

2006-04-27 Thread Edin Kadribasic
Hi Marcus, Marcus Boerger wrote: > There was no endless discussion like we to often do on the list but instead > it was just something we came to agree upon among those implementing it > while implementing it. In other words there was no public discussion whatsoever ;) Well since we're are talki

Re: [PHP-DEV] Static properties

2006-04-27 Thread Marcus Boerger
Hello Jochem, Wednesday, April 26, 2006, 9:39:40 PM, you wrote: > Marcus Boerger wrote: >> Hello Jochem, > hi Marcus, >>>(anyone with the argument that PHP!=Ruby or PHP!=Javascript might consider >>>that >>>PHP!="the OO paradigm") >> >> >> PHP simply supports its own set and view of OO. >>

Re: [PHP-DEV] Static properties

2006-04-27 Thread Marcus Boerger
Hello Edin, Wednesday, April 26, 2006, 10:59:56 PM, you wrote: > Marcus Boerger wrote: >> It is just some decision that was taken that the newer OO stuff should be a >> bit more strict. > I don't remember any such decision. I don't even remember a discussion > about it. I'm aware of the efforts

Re: [PHP-DEV] PDO Firebird status?

2006-04-27 Thread Ard Biesheuvel
Guys, Sorry for the late reply. As you might have guessed already, PHP is not a high priority for me at the moment. First of all, you will probably remember that I was not completely satisfied with the direction set out for PDO, the reason being that the chosen model for PDO doesn't map real

Re: [PHP-DEV] openssl extension maintainer?

2006-04-27 Thread Wez Furlong
Just one patch will be fine. We usually accept patches for new features against HEAD of CVS only, but with the unicode development effort that is ongoing in HEAD, you might find it a little bit harder to do that. My suggestion is to make the patch for 5.1.2 and make sure it all works first, and th