Re: Coercive STH - some real world tests and updated RFC
| From: | Larry Garfield | Date: | Sat, 28 Feb 2015 00:27:13 +0000 |
| Subject: | Re: Coercive STH - some real world tests and updated RFC | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84060@lists.php.net to get a copy of this message | ||
On 2/27/15 10:15 AM, Christian Stoller wrote:
From: Damien Tournoud [mailto:damz@damz.org], Sent: Friday, February 27, 2015 4:54 PMQ: How many MicroSoft engineers does it take to change a light bulb? A: None. Bill Gates will just redefine Darkness(TM) as the new industry standard. --Larry Garfield (Sorry, it was just such an obvious opening...)Hi Christian, On Fri, Feb 27, 2015 at 3:38 PM, Christian Stoller <stoller@leonex.de> wrote: It is not a bug. FALSE as a return value of substr() is the identificator for an error (e.g. invalid arguments), as it is stated in the documentation: [...] "It is documented that way" and "it is not a bug" are two very different things.That’s not true. Quoting Wikipedia "A software bug is an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways." [1] In this case FALSE is an expected result and it is intended. And as I said other languages are going the same way.