#39731 [Opn->Ver]: [pt_BR] Typo in str_replace()
| From: | bjori@php.net | Date: | Fri, 08 Dec 2006 08:30:50 +0000 |
| Subject: | #39731 [Opn->Ver]: [pt_BR] Typo in str_replace() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374559@lists.php.net to get a copy of this message | ||
ID: 39731
Updated by: bjori@php.net
-Summary: Typo in str_replace() (Portuguese-Brazilian Manual)
Reported By: ro dot jaque at gmail dot com
-Status: Open
+Status: Verified
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
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