Re: 2 errors I can not understand

From: Date: Wed, 14 Mar 2007 22:52:25 +0000
Subject: Re: 2 errors I can not understand
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-250616@lists.php.net to get a copy of this message
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?

« previous php.general (#250616) next »