PHP Training

PHP Training

Share

Get Professional PHP Training in Mumbai, Internship Offered for Diploma in Web Development

18/11/2015

New batch of Codeigniter Framework Training Starting from December 1, 2015.

Photos 15/07/2013

5. Favour str_replace() over ereg_replace() and preg_replace()

Str Replace
Speed tests show that str_replace() is 61% faster.

In terms of efficiency, str_replace() is much more efficient than regular expressions at replacing strings. In fact, according to Making the Web, str_replace() is 61% more efficient than regular expressions like ereg_replace() and preg_replace().

If you’re using regular expressions, then ereg_replace() and preg_replace() will be much faster than str_replace().

15/07/2013

Fan of the week is... Marilyn Jimenez Ellasos!

Want your school to be the top-listed School/college in Mumbai?
Click here to claim your Sponsored Listing.

Telephone

Address


G4, Lake City Towers, Teen Hath Naka
Mumbai
400604