Doc #80504 [Opn->Ver]: [ZH] Documentation ERROR in `Exception::getCode `

From: Date: Fri, 11 Dec 2020 06:13:56 +0000
Subject: Doc #80504 [Opn->Ver]: [ZH] Documentation ERROR in `Exception::getCode `
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18245@lists.php.net to get a copy of this message
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)

« previous php.doc.bugs (#18245) next »