Doc #79416 [Opn->Nab]: Example 4 missing text on https://www.php.net/manual/en/functions.arguments.php
| From: | peehaa@php.net | Date: | Thu, 26 Mar 2020 13:47:58 +0000 |
| Subject: | Doc #79416 [Opn->Nab]: Example 4 missing text on https://www.php.net/manual/en/functions.arguments.php | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17444@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79416&edit=1
ID: 79416
Updated by: peehaa@php.net
Reported by: xraphael75 at protonmail dot com
Summary: Example 4 missing text on
https://www.php.net/manual/en/functions.arguments.php
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: 7.3.16
Block user comment: N
Private report: N
New Comment:
Something is following the sentence. An example of incorrect use.
Previous Comments:
------------------------------------------------------------------------
[2020-03-26 13:15:54] xraphael75 at protonmail dot com
Description:
------------
Example #4 appears to be missing text on this page https://www.php.net/manual/en/functions.arguments.php
The final sentence says:
Note that when using default arguments, any defaults should be on the right side of any non-default
arguments; otherwise, things will not work as expected. Consider the following code snippet:
but it immediately goes into the next example. The colon indicates that something is to follow. It
looks like it should have the results of Example #4.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79416&edit=1