Doc #53623 [Opn]: [PT_BR] Incorrect example code

From: Date: Thu, 13 Jan 2011 19:27:54 +0000
Subject: Doc #53623 [Opn]: [PT_BR] Incorrect example code
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5800@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: Open Type: Documentation Problem Package: Translation problem PHP Version: 5.3.4 -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: 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."? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#5800) next »