Em Sex, 2008-04-18 às 10:22 +0300, Arvids Godjuks escreveu: > +1 for strict types. > > That way it will be simple: > * Don't need - then don't use at all > * You need it - you use it fully. > > One thing than left to clearfy - do we allow to hint only part of args > or do we go the road "if hint args, then hint them all!" (I'm > personaly for second one - be strict)
No, just use in the arg that you want. Example: http://felipe.ath.cx/diff/tests/param_tests/param_type_hint_016.phpt -- Regards, Felipe Pena. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php