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

Discussion in 'PHP' started by sparkar17, Mar 23, 2010.

  1. #1
    What is the difference between ereg_replace() and eregi_replace()?
     
    sparkar17, Mar 23, 2010 IP
  2. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #2
    As of PHP 5.3 they're both deprecated, but the latter is just case insensitive.
     
    Alex Roxon, Mar 23, 2010 IP