Which scheme according to you is a better one in case of matching?
Is it eregi or stripos or any other method?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That depends if you want to do exact match or regexp match.
Moreover, eregi is deprecated, is not binary safe and does not work well with UTF-8. For regexp matching you should use preg_match with
iflag instead.