Re: type hinting
| From: | Cristian Rodriguez | Date: | Sun, 06 Jan 2008 18:42:58 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34535@lists.php.net to get a copy of this message | ||
2008/1/5, Alain Williams <addw@phcomp.co.uk>:
> "1" and 1 should both be acceptable to type hint 'int'.
No way, "1" is an string, not an integer.
--
http://www.kissofjudas.net/