Re: [RFC] Type hints (parameter and return value)
| From: | Stanislav Malyshev | Date: | Thu, 17 Apr 2008 18:22:19 +0000 |
| Subject: | Re: [RFC] Type hints (parameter and return value) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37109@lists.php.net to get a copy of this message | ||
Hi!
Read that "no function except for a tiny handful of very special cases like is_* and serializes and probably one or two other functions that I forgot", ok? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.comIf 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.