|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20980 Strings stopped being read in at certain capital letters...
Submitted: 2002-12-12 21:24 UTC Modified: 2003-01-02 18:47 UTC
From: tourist26 at weaponx dot ath dot cx Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.2.2 OS: Redhat Linux 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tourist26 at weaponx dot ath dot cx
New email:
PHP Version: OS:


 [2002-12-12 21:24 UTC] tourist26 at weaponx dot ath dot cx
I'm not sure if this is function specific but...

I've written an IRC bot in php which runs from the command line.  One of it's functions is to read in a message from a channel and to carry out the given command, ie:

!privmsg #foo :hello people

will send a message to the channel #foo saying "hello people".  However, if you do:


It will only send "ABCDEF".  I have concluded from these tests that it 'doesn't like' the upper case letters : G I M P R S V.

It just stops processing the string when it hits one of the above characters, so only this works:

!privmsg #foo :ABCDEFgHiJKLmNOpQrsTUvWXYZ

(all of the 'rogue' letters converted to lowercase )

I'm not sure if this is a general php bug, perhaps it's something to do with being run from command line.





Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-12 21:27 UTC]
Please try using this CVS snapshot:
For Windows:

If it still does not work, provide a short example of the actual PHP code that does not work.
 [2002-12-12 21:27 UTC] tourist26 at weaponx dot ath dot cx
new email address..
 [2003-01-02 18:47 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 01 15:03:33 2021 UTC