From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 8.0
PHP version:      4.2.2
PHP Bug Type:     Strings related
Bug description:  Strings stopped being read in at certain capital letters...

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 bug report at http://bugs.php.net/?id=20980&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20980&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20980&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20980&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20980&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20980&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20980&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20980&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20980&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20980&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20980&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20980&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20980&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20980&r=isapi

Reply via email to