Re: Guide to manual syntax?
| From: | Hannes Magnusson | Date: | Tue, 13 Aug 2013 17:43:53 +0000 |
| Subject: | Re: Guide to manual syntax? | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-16504@lists.php.net to get a copy of this message | ||
On Tue, Aug 13, 2013 at 7:58 AM, Paul Barrick <paul@imperativedesign.net> wrote:
> Is there a page that explains the syntax used in PHP.net explanations and
> function signatures?
> For example:
>
> array *array_chunk* ( array $input , int $size [, bool $preserve_keys =
> false ] )
>
> It is my understanding that the above method returns an array, the $input
> is an array, $size is an int and it has some optional params denoted by the
> [ ]. I figured this out through looking at some methods I knew and reading
> lots of methods on the site but is there a reference to this syntax
> somewhere? I think it would be very helpful to new people trying to read
> the references on the site.
http://www.php.net/manual/en/about.prototypes.php
-Hannes