php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #438 The documented "trim" and "ltrim" functions don't exist?!
Submitted: 1998-06-04 03:24 UTC Modified: 1998-06-04 09:04 UTC
From: marclang at cs dot washington dot edu Assigned: rasmus (profile)
Status: Closed Package: Documentation problem
PHP Version: 3.0 Release Candidate 5 OS: Unix (Linux 2.0.32)
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:
37 - 35 = ?
Subscribe to this entry?

 
 [1998-06-04 03:24 UTC] marclang at cs dot washington dot edu
<HTML><HEAD><TITLE>Testing</TITLE></HEAD><BODY>
<?php

  $host = "  localhost  ";
  $user = "  bogus  ";
  $pw   = "  foo  ";

  /* uncomment for errors */
  // $host = trim ($host); /* Error: Call to unsupported or undefined funxtion trim() */
  // $user = ltrim ($user); /* Error: Call to unsupported or undefined funxtion ltrim() */
  $pw = chop ($pw);

?>
</BODY>
</HTML>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-04 09:04 UTC] rasmus
These were added after RC5.  They will be in the next release.  There is sometimes a couple of days between manual updates and new releases.  It is hard to coordinate exactly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 12:01:30 2024 UTC