svn: /phpdoc/en/trunk/reference/strings/functions/ str-ireplace.xml
| From: | Christoph Michael Becker | Date: | Fri, 15 Jan 2016 18:15:00 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ str-ireplace.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13999@lists.php.net to get a copy of this message | ||
cmb Fri, 15 Jan 2016 18:15:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338513
Log:
improved example (by Matthew Farren)
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/str-ireplace.xml
Modified: phpdoc/en/trunk/reference/strings/functions/str-ireplace.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/str-ireplace.xml 2016-01-15 18:14:22 UTC (rev
338512)
+++ phpdoc/en/trunk/reference/strings/functions/str-ireplace.xml 2016-01-15 18:15:00 UTC (rev
338513)
@@ -106,6 +106,7 @@
<![CDATA[
<?php
$bodytag = str_ireplace("%body%", "black", "<body
text=%BODY%>");
+echo $bodytag; // <body text=black>
?>
]]>
</programlisting>