php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80888 [ZH] wrong about "Limited return type covariance and argument"
Submitted: 2021-03-19 09:26 UTC Modified: 2021-04-01 19:53 UTC
From: thomasjiao at vip dot qq dot com Assigned: jhdxr (profile)
Status: Closed Package: Translation problem
PHP Version: 7.4.16 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 8 = ?
Subscribe to this entry?

 
 [2021-03-19 09:26 UTC] thomasjiao at vip dot qq dot com
Description:
------------
---
From manual page: https://php.net/migration74.new-features
---
When I read doc about "Limited return type covariance and argument type contravariance", the Chinese translation guides me to the opposite direction.

Chinese translation for "The following code will now work" is "以下代码将不会正常工作", that in Chinese means "The following code will NOT work".

That sounds like a joke, the correction should be on the way, isn't it ?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-19 11:32 UTC] cmb@php.net
-Summary: Chinese translation is wrong about "Limited return type covariance and argumen" +Summary: [ZH] wrong about "Limited return type covariance and argument" -Package: Documentation problem +Package: Translation problem
 [2021-04-01 19:53 UTC] jhdxr@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jhdxr
 [2021-04-01 19:53 UTC] jhdxr@php.net
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.

thanks for the report.

fixed in https://github.com/php/doc-zh/commit/709fef4c5c1d2dcb829bc898ac9a86536fffa789
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC