#20980 [Opn->Fbk]: Strings stopped being read in at certain capital letters...
| From: | iliaa@php.net | Date: | Fri, 13 Dec 2002 03:27:16 +0000 |
| Subject: | #20980 [Opn->Fbk]: Strings stopped being read in at certain capital letters... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27553@lists.php.net to get a copy of this message | ||
ID: 20980
Updated by: iliaa@php.net
Reported By: mac@weaponx.ath.cx
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Redhat Linux 8.0
PHP Version: 4.2.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-12-12 21:24:14] mac@weaponx.ath.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20980&edit=1