php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #7493 UCWords function doesn't capitalise 'l.j. hooker' correctly
Submitted: 2000-10-27 09:52 UTC Modified: 2000-10-27 22:54 UTC
From: c dot just at phoenixdigital dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.3pl1 OS: All
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: c dot just at phoenixdigital dot com
New email:
PHP Version: OS:

 

 [2000-10-27 09:52 UTC] c dot just at phoenixdigital dot com
This function doesn't behave correctly.

UCWords()
doesn't capitalise 'l.j. hooker'

It returns 
'L.j. Hooker'

I would think that it should return
'L.J. Hooker'





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 10:57 UTC] lyric@php.net
The algorithm only capitalises the character after a whitespace (these  are:  space,  form-feed, newline, carriage return, horizontal tab, and vertical tab). I've changed this issue to "Documentation Problem" so the manual team can elaborate on that on the manpage.
 [2000-10-27 22:54 UTC] jmoore@php.net
Added note to docu
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 16:00:02 2026 UTC