Search This Blog

Monday, November 22, 2010

preg_replace successful or not

Programmer Question

Is there any way to tell if a preg_replace was successful or not?



I tried:






and yes, I looked at php docs for this one. Sorry about my stupid questions earlier.



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails