Re: return false if error
| From: | Yasuo Ohgaki | Date: | Thu, 20 Mar 2014 08:51:42 +0000 |
| Subject: | Re: return false if error | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384888@lists.php.net to get a copy of this message | ||
Hi Pierre,
On Thu, Mar 20, 2014 at 2:43 PM, Pierre Joye <pierre.php@gmail.com> wrote:
> > Documenting almost all return value as mixed would not be a good idea.
>
> Documenting what is actually implemented is what we do or should do.
I agree that this behavior should be documented.
http://www.php.net/manual/en/functions.internal.php
This might be enough. It could be improved, though.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net