|  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
 [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: Sat Jun 22 02:01:28 2024 UTC