php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39731 [pt_BR] Typo in str_replace()
Submitted: 2006-12-04 15:31 UTC Modified: 2006-12-08 11:35 UTC
From: ro dot jaque at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2006-12-04 15:31 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-08 11:35 UTC] nlopess@php.net
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.


 [2020-12-30 10:45 UTC] nikic@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/pt_br.git;a=commit;h=dedb0c78c400f3c1c17ac1134a1eb74a24e6ef4d
Log: fix bug #39731
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 16:01:34 2024 UTC