On Apr 20, 2004, at 3:18 PM, Marcus Boerger wrote:The 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.
Andi/Zeev,
Thoughts on allowing array typehinting?
I don't have a problem with array type hinting but I want to roll RC2. I suggest we look at Marcus' patch after RC2 and see if it's small enough to allow the inclusion before 5.0.0.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php