> -----Original Message-----
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]
> Sent: 14 March 2003 14:50
> 
> You are right that it doesn't behave the same as C. However, 
> personally 
> although it might have been better for it to work like C I 
> don't think it's 
> a good idea to change it now. First of all it would break backwards 
> compatibility in a way which would be hard for people to find 
> where the bug 
> is and how to fix it. Secondly, not meaning to insult anyone 
> here, but I 
> think people who write such code without using parentheses 
> should improve 
> their coding style :)

Oh, I totally agree.  My original response was to a query as to whether the
PHP behaviour was a bug -- so I simply pointed out (in some detail!) that,
although different from c, it *did* conform to the precedence and
associativity documented in the PHP manual.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to