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
 [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: Thu Apr 25 05:01:33 2024 UTC