Re: [RFC] Type hints (parameter and return value)
| From: | Mark van der Velden | Date: | Thu, 17 Apr 2008 18:48:38 +0000 |
| Subject: | Re: [RFC] Type hints (parameter and return value) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37113@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Thu, 17 Apr 2008, Felipe Pena wrote:- MarkNow with both parameter and return value type hints. For parameter type hints, i have completed the actual implementation with the leftover php types: - string (binary string and unicode) - integer (accepting numeric string too) - double (accepting numeric string too) - boolean ('0', '1', true, false)I think that the typehints should be strict, if you don't want strictness, don't use type hints. +1