[TYPO3-core] RFC #7357: Use exceptions to detect missing user function

Ingo Renner ingo at typo3.org
Sun Feb 3 21:27:16 CET 2008


Martin Kutschker wrote:

>> see: http://www.php.net/~helly/php/ext/spl/classException.html
> 
> I'd favour InvalidArgumentException, at least for the "not prepended 
> with user_" error. But are these execptions also "free" to use? I mean, 
> there's no docs whatsoever on php.net and the linked Doxygen docs aren't 
> that great either.

fine with me, too. Yes, they're part of the SPL which itself comes with 
php5.x (probably 5.1) by default. Don't know why they're so badly 
documented...

Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list