ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
تاريخ النشر: 2016/01/27
Mohammad Ahmad Siddiqui
من قبل Mohammad Ahmad Siddiqui , Sr.Software Engineer , GSPANN Technologies Inc

ereg_replace()->  Regular expression match replace case sensetive.  eregi_replace()-> Regular expression match replace case insensetive.

Julfkar  Moh Umar
من قبل Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited

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

Aslesha Kadam
من قبل Aslesha Kadam , Trainee Software Engineer , Logical DNA IT Sol. Pvt. Ltd.

ereg_replace() is case sensitive while eregi_replace() is not case sensitive.

Saleem Iqbal
من قبل Saleem Iqbal , Technical Lead , IncisiveSoft pvt ltd

ereg_replace() is a case sensitive whereas eregi_replace() is not case sensitive.

 

e.g.

ereg_replace() - "Hello" - cannot treat as "hello" whereas

eregi_replace() - "Hello" - can be treat as "hello"

المزيد من الأسئلة المماثلة