RE: zend_API.c

From: Date: Mon, 03 Feb 2003 16:21:56 +0000
Subject: RE: zend_API.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93946@lists.php.net to get a copy of this message
> It's a difference between doing a call_user_function_ex() and invoking > the handler directly. i don't get your point. how would such a pear class look like ? > > > you're missing the point. if i invoke a method i don't > expect it to print a > > warning, i expect it to throw an exception (most likely) > and imho this is the > > prevailing opinion in oo. > > No, I'm not missing the point. How is this going to be achieved with > your approach? You have the same function handling both > function and OO > API? Is it going to throw exception based on how it's called? yup, that was the idea. harald

« previous php.dev (#93946) next »