For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2006 > #39731 [Opn->Ver]: [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 [Opn->Ver]: [pt_BR] Typo in str_replace()
bjori@php.net

2006-12-11, 7:02 pm

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/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