preg_replace vs preg_filter
<p>What are the differences between <code>preg_replace</code> and <code>preg_filter</code>? Are there any advantages when using one of them instead of the other in certain situations? I tried reading the docs but still don't quite understand what the differences are. Please enlighten me. Thanks.</p>
