Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high
| From: | Derick Rethans | Date: | Fri, 20 Dec 2002 11:35:01 +0000 |
| Subject: | Re: #21060 [Opn->Bgs]: range() gives warning and returns false when low == high | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92703@lists.php.net to get a copy of this message | ||
On 20 Dec 2002 iliaa@php.net wrote:
> ID: 21060
> Updated by: iliaa@php.net
> Reported By: cnb@freedomink.org
> -Status: Open
> +Status: Bogus
> Bug Type: Arrays related
> Operating System: Linux 2.4.18
> PHP Version: 4CVS-2002-12-16 (dev)
> New Comment:
>
> Thank you for taking the time to write to us, but this is not
> a bug. Please double-check the documentation available at
> http://www.php.net/manual/ and the instructions on how to
> report
> a bug at http://bugs.php.net/how-to-report.php
>
> Nothing wrong with this behaviour, the low & high point are the same,
> hence the false output indicating failure.
Actually, I think this is a bug, and I see the usefulnes in having the
floor and bottom having the same value. I can write up a patch if
needed.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------