php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78087 documentation problem
Submitted: 2019-05-31 03:40 UTC Modified: 2019-05-31 08:08 UTC
From: sandeepy172 at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 + 42 = ?
Subscribe to this entry?

 
 [2019-05-31 03:40 UTC] sandeepy172 at gmail dot com
Description:
------------
hash ( string $algo , string $data [, bool $raw_output = FALSE ] ) : string

The comma before bool is placed at a wrong place. this is a documentation problem I guess. please update the document if I am right

Expected result:
----------------
hash ( string $algo , string $data, [bool $raw_output = FALSE ] ) : string



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-31 08:08 UTC] salathe@php.net
-Status: Open +Status: Not a bug
 [2019-05-31 08:08 UTC] salathe@php.net
This is our convention for showing optional parameters in the function prototypes in the manual.

See also "How to read a function definition (prototype)" at https://www.php.net/manual/en/about.prototypes.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 13:01:31 2024 UTC