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
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: marclang at cs dot washington dot edu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC