----- Original Message -----
From: "Charles Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 12:50 PM
Subject: [PHP] strstr() question


> What is the expected return when using strtr() to compare a string to
> an empty string?
>
> example:
>
> $myval = strstr('bob', '');
>
> Thanks,
> Charles

I would susspect this would result in an error.  The parameter is expect a
non-empty string.
- Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to