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 how to run the interactive php shell from the command line interface?

0 Answers  


How error handling is being handled by php?

0 Answers  


How to compare two strings with comparison operators in php?

0 Answers  


What is the functionality of the function strstr and stristr?

2 Answers  


What are the main error types in php and how do they differ?

0 Answers  






How to create connection in php?

0 Answers  


Write a query to to delete duplicate rows?

4 Answers   ATS,


How can you send email in php?

0 Answers  


What is difference between print and echo in php?

0 Answers  


What is framework in php?

0 Answers  


What is if isset ($_ post submit )) in php?

0 Answers  


How many open modes available when a file open in PHP?

0 Answers  


Categories