LAMPInterview

A Venture from AccuGlobal.com

What is the difference between ereg_replace() and eregi_replace()?

Posted by lampinterview on May 14, 2008

eregi_replace() function is identical to ereg_replace() except that it ignores case distinction when matching
alphabetic characters.

One Response to “What is the difference between ereg_replace() and eregi_replace()?”

  1. AccuGlobal Says:

    ereg_replace() is case sensitive like “test” cannot be treated as “TeSt” and eregi_replace() is not case sensitive
    that means insensitive where “test” could be treated as “TeSt”.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>