For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2006 > #39731 [Ver->Csd]: [pt_BR] Typo in str_replace()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #39731 [Ver->Csd]: [pt_BR] Typo in str_replace()
nlopess@php.net

2006-12-11, 7:02 pm

ID: 39731
Updated by: nlopess@php.net
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/fun...str-replace.php



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=39731&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com