Re: [RFC] Strict type hints (parameter and return value)
| From: | Sam Barrow | Date: | Thu, 17 Apr 2008 18:52:45 +0000 |
| Subject: | Re: [RFC] Strict type hints (parameter and return value) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37115@lists.php.net to get a copy of this message | ||
On Thu, 2008-04-17 at 11:43 -0700, Stanislav Malyshev wrote:
> Hi!
>
> > Scalar is useful if you DON'T want an array or object - but don't care
> > if you get an int/string/whatnot
>
> When you can use string but not object with __toString?
my patch does that
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
>