Re: Re: Type hints revisited [IllegalArgumentException instead of E_ERROR]

From: Date: Mon, 31 Mar 2003 18:59:00 +0000
Subject: Re: Re: Type hints revisited [IllegalArgumentException instead of E_ERROR]
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-551@lists.php.net to get a copy of this message
At 15:27 31.03.2003, Stanislav Malyshev wrote:
WF>> Please don't have it bail out unless there is some kind of WF>> function_parameters_are_ok() API so that careful programmers can work WF>> around this issue. Careful programmers should know interface of called functions and never call them with parameters that do not match the interface. :)
But not all programmers are that carefull and in bigger applications this cannot always ensured especially when some underlying stuff changes a bit... marcus

« previous php.internals (#551) next »