On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
> Richard Lynch wrote:
>> On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
>> The = operator takes precedence, and $d is set to 0.
>>
> But why?  According to the manual, the modulus operator has precedence
> over the equals!  So shouldn't this expression  resolve to:
>    ($s % $d) = 0
> which gives an error?

Ya got me there.

I hadn't even checked the precedence list before answering.

Unless somebody has a rational explanation, I think this should be an
error...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to