PHP5 and zend_parse_parameters

From: Date: Sun, 13 Apr 2003 04:08:39 +0000
Subject: PHP5 and zend_parse_parameters
Groups: php.internals 
Request: Send a blank email to internals+get-882@lists.php.net to get a copy of this message
i have an OOP based extension for PHP5 which also uses exceptions extensively. it would seem more in character with OOP to throw an IllegalArgument exception or some-such when a parameter type does not meet our expectations. otherwise we end up with a tenuous mix of error handling styles. zend_parse_parameters_ex has the "quiet" flag, which helps greatly, but im left without a nice message to include with my exception. is it possible for some variation of zend_parse_parameters which passes back the error message ? id rather not pass back a generic message. or am i just being lazy <g> l0t3k

« previous php.internals (#882) next »