Re: RE: STH and the 3 RFCs
| From: | Kristian Köhntopp | Date: | Mon, 16 Mar 2015 14:53:25 +0000 |
| Subject: | Re: RE: STH and the 3 RFCs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85066@lists.php.net to get a copy of this message | ||
> On 16.03.2015, at 15:45, Theodore Brown <theodorejb@outlook.com> wrote:
>
> This is a bug in the library. It declares strict mode but passes a value it
> does not know to be an integer to a method requiring an integer. It can
> be fixed by simply adding an int type declaration to the constructor or
> test method.
It actually highlights a problem. Anything that says 'int $i' and rejects "1" as
a value is defective PHP. You may not like that (I don't), but 20 years of legacy carry a
certain weight.
K
--
Kristian Köhntopp http://google.com/+KristianKohntopp
Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc