On 26/02/12 15:57, Anthony Ferrara wrote: > I've gone back and re-read a bunch of the old posts on Type Hinting, > and have come to the conclusion that it won't be done any time soon. > Not because it doesn't have merit, but because there are at least a > few fundamental difficulties that are non-trivial to figure out while > still keeping the usefulness. Can you provide a list?
Having clear objectives of what we are intending to fix will help to find a good solution. I suspect that the __cast solution is more complex than needed. And specifically, I forsee having both __castTo() and __castFrom() as a source of conflicts. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php