php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72699 rtrim() does not necessarily strip whitespace
Submitted: 2016-07-28 09:01 UTC Modified: 2016-08-02 17:23 UTC
From: sainiatul55 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Strings related
PHP Version: n/a OS: n/a
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sainiatul55 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-07-28 09:01 UTC] sainiatul55 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.chop
---

http://php.net/manual/en/function.chop.php


Documentation of chop is not like it working, it is used to remove character provide as second argument from the string provide as first argument.

Please take a review on this.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-28 09:11 UTC] cmb@php.net
-Summary: chop function,http://php.net/manual/en/function.chop.php +Summary: rtrim() does not necessarily strip whitespace -Status: Open +Status: Verified -Package: Documentation problem +Package: Strings related -Operating System: http://php.net/manual/en/functio +Operating System: n/a -PHP Version: 7.1.0beta1 +PHP Version: n/a -Assigned To: +Assigned To: cmb
 [2016-07-28 09:11 UTC] cmb@php.net
The documentation of chop() appears to be fine, but I agree that
rtrim()'s man page could be improved.
 [2016-08-02 17:23 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339765
Log: Fix #72699: rtrim() does not necessarily strip whitespace
 [2016-08-02 17:23 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-08-02 17:23 UTC] cmb@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.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=576091e6b746d0ed0bb349ee3cc96677476853f4
Log: Fix #72699: rtrim() does not necessarily strip whitespace
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC