Re: Type hinting

From: Date: Fri, 04 Jun 2010 01:18:21 +0000
Subject: Re: Type hinting
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-48636@lists.php.net to get a copy of this message
On Thu, Jun 03, 2010 at 10:29:30AM -0400, Daniel Convissor wrote: > Hi Folks: > > On Sat, May 29, 2010 at 08:34:26PM +0300, Zeev Suraski wrote: > > > > IMHO we shouldn't be getting to any kind of fatal error/exception > > situation, which is why I like the idea of auto-conversion plus E_STRICT > > in the 'weird conversion' scenarios > > E_STRICT doesn't cut it. And another reason E_STRICT won't serve this situation well: how are userland error handlers supposed to pick out the type hinting conversion problems from all of the other bazillion E_STRICT errors that come up? Not very efficient. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.internals (#48636) next »