Re: [RFC] Type hints (parameter and return value)

From: Date: Thu, 17 Apr 2008 17:56:19 +0000
Subject: Re: [RFC] Type hints (parameter and return value)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-37102@lists.php.net to get a copy of this message
On Thu, Apr 17, 2008 at 7:02 PM, Stanislav Malyshev <stas@zend.com> wrote: > > Your current implementation seems to be inconsistent with both itself > > and the rest of PHP. I hope this can be rectified before it is > > included. PHP is inconsisent enough without adding more. > > > > If you talk about consistency, you should remember that right now no > function and no feature in PHP relies on strict checking of primitive types. That is not the case (or I am very much mistaken). In particular, is_int, which I mentioned in my email, is predicated on the IS_LONG type only. Paul -- Paul Biggar paul.biggar@gmail.com

« previous php.internals (#37102) next »