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

Is age a variable in research?

0 Answers  


How is a constant defined in a PHP script?

0 Answers  


Explain me what is the importance of "method" attribute in a html form?

0 Answers  


please explain me mail function in php

2 Answers  


Which function would you use to read a line of data from a file in php?

0 Answers  






What are the different types of Errors in PHP?

20 Answers   Cisco, TCS, Troop Software,


Which function would you use to insert a record into a database in php?

0 Answers  


What is the Pipe Symbol represented?

0 Answers  


What is 'float' property in css?

0 Answers  


How to get the total number of values in an array?

0 Answers  


List types of array are available in php?

0 Answers  


Tell me what is the difference between get and post?

0 Answers  


Categories