[PHP-DEV] CVS Account Request: radley25

2004-05-29 Thread Radley Smith
I would like to maintain the documentation. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] question on function declarations

2004-05-29 Thread ahti
hello! i really don't know if this is the right place to post this kind of question, but it seems to be quite close. why can't i use C-like variable conversions in php's function declaration, eg. function myfunction($var1, (int)$var2, (bool)$var3=0) ? - I

Re: [PHP-DEV] RC3RC1

2004-05-29 Thread Rob Richards
From: Andi Gutmans > Please test. If there are no critical problems I'll release RC3 tomorrow > which I think will be the last RC for 5.0. Andi, hopefully you arent waiting on a fix for the libxml streams issue to roll RC3. I would suggest that our streams handling be left as is right now. I hav

[PHP-DEV] CVS Account Request: jimi

2004-05-29 Thread James Gingerich
Bug fixes and new functionality for the smbc package -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] switch labels in sub-blocks

2004-05-29 Thread Ilya Sher
Sara Golemon wrote: Well, now that I think I understand what is it for, I'm pretty sure it's not very appropriate for PHP(, unless someone will provides an example of the opposite of course). It's kind of clarity vs efficiency. The more the basic operation ("*to = *from++" in the original) is getti

Re: [PHP-DEV] switch labels in sub-blocks

2004-05-29 Thread Sara Golemon
> Well, now that I think I understand what is it for, > I'm pretty sure it's not very appropriate for PHP(, > unless someone will provides an example of the opposite > of course). > > It's kind of clarity vs efficiency. > The more the basic operation ("*to = *from++" in the > original) is getting b

[PHP-DEV] idate bug?

2004-05-29 Thread Nuno Lopes
Hello, Checking the sources, idate('y') returns "year, numeric, 2 digits". Althought it is returning just '4' instead of '04'. Is this a bug or feature? :) And what idate('I') returns? 1 if DST is on? Thanks, Nuno -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Re: Internal casting of objects as array keys

2004-05-29 Thread Aidan Lister
Andi, any interest in this? "Aidan Lister" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Andi, > > Okay, it's not as simple as I thought it was - and you're correct, the > behaviour has not changed for php4/5. > > Objects in both PHP4 and PHP5 will throw an error if you use the

Re: [PHP-DEV] switch labels in sub-blocks

2004-05-29 Thread Ilya Sher
Michael Walter wrote: [snip] It's an unrolled loop. See http://www.lysator.liu.se/c/duffs-device.html for more information for more elaboration from the author (google works for you, too, btw). Thanks. Got it now. [Somehow did not think of google. My fault. Was kind of confused. The first link giv

Re: [PHP-DEV] switch labels in sub-blocks

2004-05-29 Thread Michael Walter
Ilya Sher wrote: Hartmut Holzgraefe wrote: Ilya Sher wrote: It looks like using "goto" to me. Messy. That's probably the reason it is not allowed. Or maybe other people like myself failed to understand how it is really useful. Real example from you would help here. it's a valid performance trick i