Re: New documentation contributor
| From: | Christoph M. Becker | Date: | Mon, 21 Aug 2017 11:52:03 +0000 |
| Subject: | Re: New documentation contributor | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969386687@lists.php.net to get a copy of this message | ||
Hi Stefan!
On 21.08.2017 at 08:52, Steve Petcu wrote:
> I'd like to become a more frequent contributor to/reviewer of the official
> PHP documentation.
>
> I've made a few patches (quite a while ago):
>
> http://edit.php.net/?patch=en/reference/array/functions/array-walk.xml&project=PHP
>
> http://edit.php.net/?patch=en/reference/strings/functions/echo.xml&project=PHP
>
> http://edit.php.net/?patch=en/reference/array/functions/next.xml&project=PHP
>
> http://edit.php.net/?patch=en/reference/array/functions/prev.xml&project=PHP
>
> http://edit.php.net/?patch=en/reference/strings/functions/print.xml&project=PHP
>
> http://edit.php.net/?patch=en/reference/array/functions/reset.xml&project=PHP
>
> It would be cool to receive some feedback on them. I also see lots of other
> patches which haven't been reviewed in a while.
I've had a look at the
echo and print patches, and it seems to me
that changing the type of the argument to mixed isn't quite
appropriate. Actually, echo/print expect strings, but type juggling
is applied as usual. If we stick with string also the error sections
would be superfluous, since that is normal behavior of type juggling to
string.
Wrt. the next patch: good catch that each is going to be deprecated!
Consequently, I think we shouldn't mention it at all in this context,
but rather link to foreach, or simply remove the link altogether (as
you've done in the prev patch).
--
Christoph M. Becker