Re: Proto void and return values...

From: Date: Tue, 12 Nov 2002 19:25:45 +0000
Subject: Re: Proto void and return values...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90884@lists.php.net to get a copy of this message
On Tue, Nov 12, 2002 at 02:16:41PM -0500, David Brown wrote: | Hi everyone: | | For functions prototyped as returning void, return values seem to be applied | at random. Some functions, such as trigger_error/user_error, srand, ob_start, | and phpinfo, use RETURN_TRUE. The vast majority of these functions just fall | through, implicitly returning NULL to userland. Or perhaps I'v just thought about this entirely too long. Is it possible that the prototypes are just wrong in the documentation? Regards, - Dave dave@codewhore.org

« previous php.dev (#90884) next »