php.net |  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
 [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:

!privmsg #foo :ABCDEFGHIJKLMNOPQRSTUVWXYZ

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.

Thanks.

Regards.

tourist26

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-12 21:27 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

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] sniper@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 09:01:33 2024 UTC