Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47056 invoked from network); 16 Mar 2015 14:52:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 14:52:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=tpunt@hotmail.co.uk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tpunt@hotmail.co.uk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.co.uk designates 157.55.2.104 as permitted sender) X-PHP-List-Original-Sender: tpunt@hotmail.co.uk X-Host-Fingerprint: 157.55.2.104 dub004-omc4s29.hotmail.com Received: from [157.55.2.104] ([157.55.2.104:59043] helo=DUB004-OMC4S29.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/32-34940-D3EE6055 for ; Mon, 16 Mar 2015 09:52:47 -0500 Received: from DUB113-W67 ([157.55.2.71]) by DUB004-OMC4S29.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 16 Mar 2015 07:52:42 -0700 X-TMN: [6cU2wuWPBoQB1SKaDdxd8yBL0Xj+qqES] X-Originating-Email: [tpunt@hotmail.co.uk] Message-ID: To: Theodore Brown CC: "internals@lists.php.net" Date: Mon, 16 Mar 2015 14:52:41 +0000 Importance: Normal In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Mar 2015 14:52:42.0151 (UTC) FILETIME=[DAD2A370:01D05FF8] Subject: RE: STH and the 3 RFCs From: tpunt@hotmail.co.uk (Thomas Punt) Hey=2C=0A= =0A= > This is a bug in the library. It declares strict mode but passes a value = it=0A= > does not know to be an integer to a method requiring an integer. It can= =0A= > be fixed by simply adding an int type declaration to the constructor or= =0A= > test method.=0A= =0A= The second example is certainly a programmer error=2C but the first=0A= example could be could considered design by intention to enforce=0A= users to pass in the correct argument types.=0A= =0A= >=0A= > Thanks=2C=0A= >=0A= > Theodore=0A= =0A= -Tom =