Doc #53623 [Asn->Csd]: [PT_BR] Incorrect example code
| From: | frozenfire@php.net | Date: | Thu, 13 Jan 2011 19:51:34 +0000 |
| Subject: | Doc #53623 [Asn->Csd]: [PT_BR] Incorrect example code | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5801@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53623&edit=1
ID: 53623
Updated by: frozenfire@php.net
Reported by: adarsha dot mv at gmail dot com
Summary: [PT_BR] Incorrect example code
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: 5.3.4
Assigned To: frozenfire
Block user comment: N
Private report: N
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.
After soliciting some help from the Portuguese channel on Freenode, I've
decided upon "Texto que não será exibido."
Previous Comments:
------------------------------------------------------------------------
[2011-01-13 20:50:35] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=307447
Log: Replaced example with version from English manual, with respective
text translated. Fixes bug #53623.
------------------------------------------------------------------------
[2011-01-13 20:27:54] frozenfire@php.net
I'll fix this issue, since it's fairly minor, to reflect what's in the
English version in terms of example code.
However, it's probably a good idea to change the example test to
Portuguese. Is "Texto que não serão exibidas." a good translation of
"Text that won't get displayed."?
------------------------------------------------------------------------
[2010-12-28 17:51:50] adarsha dot mv at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ob-end-clean#Examples
---
The following example shows an easy way to get rid of all output
buffers:
<?php
ob_start();
echo 'Text that won\'t get displayed.';
ob_end_clean();
?>
But actual code to get rid of all output buffers is given in
http://php.net/manual/pt_BR/function.ob-end-clean.php
<?php
while (@ob_end_clean());
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53623&edit=1