|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79416 Example 4 missing text on
Submitted: 2020-03-26 13:15 UTC Modified: 2020-03-26 13:47 UTC
From: xraphael75 at protonmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 7.3.16 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: xraphael75 at protonmail dot com
New email:
PHP Version: OS:


 [2020-03-26 13:15 UTC] xraphael75 at protonmail dot com
Example #4 appears to be missing text on this page

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-26 13:47 UTC]
-Status: Open +Status: Not a bug
 [2020-03-26 13:47 UTC]
Something is following the sentence. An example of incorrect use.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 16 12:03:37 2021 UTC