note 103856 deleted from function.preg-replace by danbrown
| From: | danbrown@php.net | Date: | Fri, 06 May 2011 22:34:07 +0000 |
| Subject: | note 103856 deleted from function.preg-replace by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179511@lists.php.net to get a copy of this message | ||
Note Submitter: Anon
----
preg_replace_all:
<?php
do {
$subject = preg_replace($pattern, $replacement, $subject, -1, $replaceCount);
} while ($replaceCount);
?>