Doc #80504 [Opn->Ver]: [ZH] Documentation ERROR in `Exception::getCode `
Edit report at https://bugs.php.net/bug.php?id=80504&edit=1
ID: 80504
Updated by: requinix@php.net
Reported by: thomasjiao at vip dot qq dot com
-Summary: Documentation ERROR in Exception::getCode
+Summary: [ZH] Documentation ERROR in Exception::getCode
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Class/Object related
Operating System: Windows
PHP Version: 7.4.13
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-12-11 04:44:36] thomasjiao at vip dot qq dot com
Description:
------------
---
From manual page: https://php.net/exception.getcode
---
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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80504&edit=1
Thread (3 messages)