|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80504 [ZH] Documentation ERROR in `Exception::getCode `
Submitted: 2020-12-11 04:44 UTC Modified: 2020-12-28 05:47 UTC
From: thomasjiao at vip dot qq dot com Assigned: jhdxr (profile)
Status: Closed Package: Translation problem
PHP Version: 7.4.13 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: thomasjiao at vip dot qq dot com
New email:
PHP Version: OS:


 [2020-12-11 04:44 UTC] thomasjiao at vip dot qq dot com
From manual page:
In the Chinese documentation ``, `Exception::getCode ` shows that it will return type `int`, while in other languages the return type is `mixed`.

Something here should be wrong, the Chinese documentation should be fixed any way.

Many thanks to you PHP team. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-11 06:13 UTC]
-Summary: Documentation ERROR in `Exception::getCode ` +Summary: [ZH] Documentation ERROR in `Exception::getCode ` -Status: Open +Status: Verified -Package: Documentation problem +Package: Class/Object related
 [2020-12-11 13:04 UTC]
-Package: Class/Object related +Package: Translation problem
 [2020-12-28 05:47 UTC]
Automatic comment from SVN on behalf of jhdxr
Log: fix #80504  sync with en version
 [2020-12-28 05:47 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: jhdxr
 [2020-12-28 05:47 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

 [2020-12-28 05:50 UTC]
Automatic comment on behalf of jhdxr
Log: fix #80504  sync with en version
 [2020-12-30 10:47 UTC]
Automatic comment on behalf of jhdxr
Log: fix #80504  sync with en version
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC