Re: RE: Optional scalar type hinting
| From: | Stanislav Malyshev | Date: | Thu, 03 Jan 2008 18:43:39 +0000 |
| Subject: | Re: RE: Optional scalar type hinting | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34331@lists.php.net to get a copy of this message | ||
When the type hint says I want an integer, then only integer should be accepted; no casting should be done. It may give predictable resultsWhy people that want Java just don't use Java I wonder? PHP never was a strict static typed language. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com