regex :(

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

isn't this

Code: Select all

$after_replace = str_replace('<', '<', $after_replace); 
      $after_replace = str_replace('>', '>', $after_replace); 
      $after_replace = str_replace('&', '&', $after_replace);
just wasting processor time?
Post Reply