I was just messing around with strncasecmp() and it doesn't seem to produce
the correct values.

For example:

        echo strncasecmp("http://","http://www.php.net/",7);

Does not print 0 as expected.

I looked at the code and it doesn't seem to be too complicated a function.
Just wondering if anyone else has problems with it.

Sean Bright
[EMAIL PROTECTED] / [EMAIL PROTECTED] / http://www.seanbright.com/

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to