|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19405 trim, ltrim, rtrim, chop not function
Submitted: 2002-09-14 09:19 UTC Modified: 2002-09-14 09:21 UTC
From: jimsonchang at yahoo dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.2.2 OS: windows 95
Private report: No CVE-ID: None
 [2002-09-14 09:19 UTC] jimsonchang at yahoo dot com
like the title,
trim, ltrim, rtrim, chop not function in version php 4.2.2

$a = "asdf      asdf";
echo trim($a);
// yet the result still asdf      asdf
// where it should be asdfasdf


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-14 09:21 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Mar 29 22:01:26 2020 UTC