Re: Multi-Method Dispatch in PHP 5.1?
| From: | George Schlossnagle | Date: | Tue, 20 Apr 2004 19:29:48 +0000 |
| Subject: | Re: Multi-Method Dispatch in PHP 5.1? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9436@lists.php.net to get a copy of this message | ||
On Apr 20, 2004, at 3:18 PM, Marcus Boerger wrote:
Andi/Zeev, Thoughts on allowing array typehinting? GeorgeThe problem with this is that that integer may well be a string when you look at it. There's no good way to do this past discriminating between scalar, array and object (by type, of course). I personally think that that is fine (adding an array typehint would be nice).Somewhere at my server should be a patch for "array". For some reason i was too lazy to ask for that to commit again before RC1. I you still want this just ask Andi/Zeev again.