inconsistency in return value in XSLTProcessor::registerPHPFunctions()

From: Date: Sun, 10 May 2009 16:46:08 +0000
Subject: inconsistency in return value in XSLTProcessor::registerPHPFunctions()
Groups: php.qa 
Request: Send a blank email to php-qa+get-64941@lists.php.net to get a copy of this message
Hello all, 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. I suggest that that RETURN_TRUE line in xsltprocessor.c should be deleted. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.qa (#64941) next »