RE: STH and the 3 RFCs

From: Date: Mon, 16 Mar 2015 14:52:41 +0000
Subject: RE: STH and the 3 RFCs
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-85065@lists.php.net to get a copy of this message
Hey, > 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. The second example is certainly a programmer error, but the first example could be could considered design by intention to enforce users to pass in the correct argument types. > > Thanks, > > Theodore -Tom

« previous php.internals (#85065) next »