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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sandeepy172 at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 15 05:00:01 2025 UTC