note 66849 deleted from function.str-replace by bjori
| From: | bjori@php.net | Date: | Wed, 07 Jun 2006 21:00:14 +0000 |
| Subject: | note 66849 deleted from function.str-replace by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-113665@lists.php.net to get a copy of this message | ||
Note Submitter: ric
----
Needing to change a large number of pages using str_replace() found that;
<?php
str_replace( "<? ", "<?php ", $target );
?>
. . . uses the '?' as a wildcard - while very useful otherwise, but cannot find a fix for
this particular requirement.