So reading all posts on this subject, the proposal would be: 1) Allow null typehints publicÂfunctionÂCompare([BaseClass]Â$objA,Â$cmpFunc);
Ex: Compare(null, 'func1'); 2) Don't allow null typehints publicÂfunctionÂCompare(BaseClassÂ$objA,Â$cmpFunc); Ex: Compare(new BaseClass(), 'func1'); 3) Optional argument (with typehint) publicÂfunctionÂCompare($cmpFunc,ÂBaseClassÂ$objA=null); Ex: Compare('func1'); Am I right ? Is it possible to implement all three syntaxes ? IMH it would satisfy everybody's needs. Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php