On 2/27/15 10:15 AM, Christian Stoller wrote:
From: Damien Tournoud [mailto:d...@damz.org], Sent: Friday, February 27, 2015 
4:54 PM

Hi Christian,

On Fri, Feb 27, 2015 at 3:38 PM, Christian Stoller <stol...@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.

Q: 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...)

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

Reply via email to