Re: Operator precedence is undefined?

From: Date: Sat, 20 Jul 2013 07:37:26 +0000
Subject: Re: Operator precedence is undefined?
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> I cannot believe this is true now, but I ask list before I fix doc.

I don't think there's something that needs to be fixed. "Undefined"
means "it depends on implementation and we do not want to commit to a
specific behavior here because implementations may change". This is a
fair warning against using implementation details that are not promised
to stay fixed and later crying why next PHP version broke your code.
Because you used undefined behavior. If the behavior is specified as
undefined, that means "don't do this" - so you know it may be broken,
and write better code instead that is not broken.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (30 messages)

« previous php.internals (#68259) next »