Re: [PHP-DEV] Interesting result

2002-12-23 Thread Michael Mauch
In php.dev Markus Fischer <[EMAIL PROTECTED]> wrote: > I was talking about telling the 'undefined behaviour' case; not > what happens with the values exactly. I don't see a drawback in > documenting an 'undefined behaviour'. It's good for people to > have a torough documentation which even warns t

Re: [PHP-DEV] Interesting result

2002-12-23 Thread Markus Fischer
drey > > Hristov wrote : > > > oukei, stopping to ask anymore :)) > > > > > > Andrey > > > > > > > > > - Original Message - > > > From: "Andi Gutmans" <[EMAIL PROTECTED]> > > > To: "Andrey

Re: [PHP-DEV] Interesting result

2002-12-22 Thread Markus Fischer
EMAIL PROTECTED]> > To: "Andrey Hristov" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, December 21, 2002 7:20 PM > Subject: Re: [PHP-DEV] Interesting result > > > > Again, as it is undefined in PHP the question "Why"

Re: [PHP-DEV] Interesting result

2002-12-22 Thread Andrey Hristov
oukei, stopping to ask anymore :)) Andrey - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, December 21, 2002 7:20 PM Subject: Re: [PHP-DEV] Interesting resul

Re: [PHP-DEV] Interesting result

2002-12-21 Thread Andi Gutmans
EMAIL PROTECTED]> Sent: Saturday, December 21, 2002 4:17 PM Subject: Re: [PHP-DEV] Interesting result > It doesn't matter because the behavior here is undefined just like in C. > You can't use a variable and it's post/pre increment value in the same > expression. >

Re: [PHP-DEV] Interesting result

2002-12-21 Thread Andrey Hristov
- Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, December 21, 2002 4:17 PM Subject: Re: [PHP-DEV] Interesting result > It doesn't matter because

Re: [PHP-DEV] Interesting result

2002-12-21 Thread Andi Gutmans
It doesn't matter because the behavior here is undefined just like in C. You can't use a variable and it's post/pre increment value in the same expression. Andi At 03:26 PM 12/21/2002 +0200, Andrey Hristov wrote: Hi, i got an interesting case : Result int(2) int(3) Can somebody explain why

[PHP-DEV] Interesting result

2002-12-21 Thread Andrey Hristov
Hi, i got an interesting case : Result int(2) int(3) Can somebody explain why if there is reference to the var the result is different? Andrey -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php