Re: BC break with rand() where min > max
| From: | Christoph M. Becker | Date: | Tue, 09 Aug 2016 20:13:05 +0000 |
| Subject: | Re: BC break with rand() where min > max | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94976@lists.php.net to get a copy of this message | ||
On 09.08.2016 at 00:12, Davey Shafik wrote:
> I would _very_ much prefer to keep this BC. If we do the right thing, and
> there are no repercussions, I'd actually remove the warning.
Well, there is already <https://bugs.php.net/72784>.
> If you think
> we might want to disallow this in the future, use an E_DEPRECATED, but a
> warning seems pointless unless it's doing the wrong thing, or it's going to
> start doing the wrong thing at some point.
+1
--
Christoph M. Becker