Re: [PATCH] zend_operators DVAL_TO_LVAL fix
| From: | Joe Orton | Date: | Mon, 30 Aug 2004 22:17:50 +0000 |
| Subject: | Re: [PATCH] zend_operators DVAL_TO_LVAL fix | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12485@lists.php.net to get a copy of this message | ||
On Mon, Aug 30, 2004 at 02:20:42PM -0700, Andi Gutmans wrote:
> I know it's undefined but why is defining it to LONG_MAX/LONG_MIN any
> better? It's not the kind of behavior which I think we should "define".
C code which has undefined behaviour may segfault or suffer some other
run-time exception; the compiler may arrange for it to print "I'm a
fluffy pink rabbit" to stderr as a side-effect.