Re: inconsistency in return value in XSLTProcessor::registerPHPFunctions()

From: Date: Sun, 10 May 2009 20:04:09 +0000
Subject: Re: inconsistency in return value in XSLTProcessor::registerPHPFunctions()
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-64946@lists.php.net to get a copy of this message
> > XSLTProcessor::registerPHPFunctions() returns NULL in two cases, but in > one case it returns bool(true). Even though the function has no defined > return value, this is inconsistent behavior. > As the documentation says, it's a "void" and shouldn't return a bool. http://news.php.net/php.cvs/57686 http://news.php.net/php.cvs/57685 -- Slan, David

« previous php.qa (#64946) next »