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

Answers were Sorted based on User's Feedback



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

Answer / gunjan

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".

Is This Answer Correct ?    25 Yes 6 No

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

Answer / khalid

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

Is This Answer Correct ?    18 Yes 5 No

Post New Answer

More PHP Interview Questions

Explain what does the expression exception::__tostring means?

0 Answers  


What is meant by ‘passing the variable by value and reference' in php?

0 Answers  


What is the main difference between php 4 and php 5?

0 Answers  


What is the php function that removes the last element of the array and returns it?

0 Answers  


Is php object oriented?

0 Answers  






what is the diffrence between for and foreach?

11 Answers   Hirolasoft, IBM, Photon,


What is the use of friend function in php?

0 Answers  


Explain me what is the w3c?

0 Answers  


Do I need to install php after xampp?

0 Answers  


Can I write php code in html file?

0 Answers  


How to add comments in php?

0 Answers  


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

0 Answers  


Categories