php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4748 ucwords() doesn't handle \n
Submitted: 2000-06-01 10:32 UTC Modified: 2000-06-01 11:58 UTC
From: martin dot storsjo at pp dot qnet dot fi Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 Release OS: Linux
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: martin dot storsjo at pp dot qnet dot fi
New email:
PHP Version: OS:

 

 [2000-06-01 10:32 UTC] martin dot storsjo at pp dot qnet dot fi
echo ucwords("\nhello world");

gives:
hello World

not:
Hello World

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-01 11:58 UTC] hholzgra at cvs dot php dot net
beginning with latest cvs, it will check
against isspace() instead of just ==" "
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 15:01:29 2024 UTC