LAMPInterview

A Venture from TechoDesign.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.

2 Responses to “What is the difference between ereg_replace() and eregi_replace()?”

  1. 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”.

  2. seth odhiambo said

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

Leave a Reply

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