| Subject: | Why do you use preg_replace()... |  
| Summary: | Package rating comment |  
| Messages: | 2 |  
| Author: | Ralf Mike Pretzlaw |  
| Date: | 2009-03-29 11:13:56 |  
| Update: | 2009-04-20 15:15:47 |  
|   |  
 
 | 
 | 
Ralf Mike Pretzlaw rated this package as follows:
| Utility:  | Sufficient | 
| Consistency:  | Not sure | 
| 
 | 
  Ralf Mike Pretzlaw - 2009-03-29 11:13:56  
Why do you use preg_replace() instead of strtr() or str_replace() which are faster? 
  
  Mihailo Joksimovic - 2009-04-20 15:15:47 -  In reply to message 1 from Ralf Mike Pretzlaw 
Well, honestly, I never used str_replace or strtr. I always used preg_replace, so I didn't know that there are faster functions for this kind of purpose :-) 
 
Anyway, it's changed now to str_replace :-)  
 
Thanks 
  
   |