Re: Type hinting

From: Date: Wed, 09 Jun 2010 09:35:24 +0000
Subject: Re: Type hinting
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-48699@lists.php.net to get a copy of this message
On 9 June 2010 00:59, Daniel Convissor <danielc@analysisandsolutions.com> wrote: > Hi Lukas: > > On Fri, Jun 04, 2010 at 08:28:12AM +0200, Lukas Kahwe Smith wrote: >> >> Same deal as E_NOTICE. Either you care about them or you dont. > > Exactly.  The type hinting situation is unique.  It is something that > applications will frequently want to handle gracefully in order to > provide useful error messages.  A new error level is needed, as is an API > / function to obtain the failed parameter names, desired type and passed > type. Is there anything I suggested in http://news.php.net/php.internals/48573 of use here? -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

« previous php.internals (#48699) next »