One thing I noticed this *could* be useful for is allowing null values on typehinted arguments: function f(TypeHint $arg = null, $arg2); $arg can now be either instanceof TypeHint or null.
(Just noting that it does influence behavior sometimes, not that this is relevant.) Nikita On Tue, Sep 27, 2011 at 1:43 AM, Ferenc Kovacs <tyr...@gmail.com> wrote: > Hi. > > I've just found a nice feature request in the bugtracker: > https://bugs.php.net/bug.php?id=53399 > > what do you think about it? > > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php