php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79891 [ZH] Chinese documentation bug
Submitted: 2020-07-24 02:35 UTC Modified: 2020-07-25 08:04 UTC
From: 1354090438 at qq dot com Assigned: twosee (profile)
Status: Closed Package: Translation problem
PHP Version: 7.3.20 OS: windows10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 1354090438 at qq dot com
New email:
PHP Version: OS:

 

 [2020-07-24 02:35 UTC] 1354090438 at qq dot com
Description:
------------
---
From manual page: https://php.net/function.str-ireplace
---
Translation problems.
$count is return result,not set params.

Test script:
---------------
$str = 'a';
str_ireplace('a','b',$str,$count);
print_r($count);


Expected result:
----------------
count
如果设定了,将被赋值为已执行替换的次数。


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-07-24 07:53 UTC] cmb@php.net
-Summary: Chinese documentation bug +Summary: [ZH] Chinese documentation bug
 [2020-07-25 08:04 UTC] twosee@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: twosee
 [2020-07-25 08:04 UTC] twosee@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php

Fixed
 [2020-08-11 15:45 UTC] phpdocbot@php.net
Automatic comment on behalf of twosee
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=13c1b6dc43118fd300e3d23337e9f8a5c2f1d9e1
Log: Fix bug #79891
 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of twosee
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=5f9e1ecb5a82a29f2b8f48916b80689dca4023a2
Log: Fix bug #79891
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC