ID: 39731
Updated by: [EMAIL PROTECTED]
Reported By: ro dot jaque at gmail dot com
-Status: Verified
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2006-12-04 15:31:11] ro dot jaque at gmail dot com
Description:
------------
A typo in portuguese-brazilian reference of str_replace().
Instead using:
$saudavel = array("frutas", "vegetais", "fibra");
$saboroso = array("pizza", "cerveja", "sorvete");
$novafrase = str_replace($saudavel, $saboroso, $frase);
The manual lists:
$saldavel = array("frutas", "vegetais", "fibra");
$saboroso = array("pizza", "cerveja", "sorvete");
$novafrase = str_replace($saudavel, $saboroso, $frase);
Reproduce code:
---------------
Check this at
http://br2.php.net/manual/pt_BR/function.str-replace.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39731&edit=1