Doc #50492 [Ver->Csd]: [PT_BR] As saídas de echo e print são enviadas para

From: Date: Sat, 23 Oct 2010 12:16:03 +0000
Subject: Doc #50492 [Ver->Csd]: [PT_BR] As saídas de echo e print são enviadas para
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5364@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50492&edit=1 ID: 50492 Updated by: kalle@php.net Reported by: rubens21 at gmail dot com Summary: [PT_BR] As saídas de echo e print são enviadas para -Status: Verified +Status: Closed Type: Documentation Problem Package: Translation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: kalle Block user comment: N Previous Comments: ------------------------------------------------------------------------ [2010-10-23 14:15:53] kalle@php.net I had a deeper look at this and the pt_BR translation and that file is way outdated and currently does not contain that note anymore. It will be fixed once a translator updates the file. Thanks for your report ------------------------------------------------------------------------ [2009-12-18 13:20:48] kalle@php.net Thanks for explaining, I've re-classified this so the translation team can easier find it. ------------------------------------------------------------------------ [2009-12-18 10:27:51] rubens21 at gmail dot com I'm sory. I forgot because the documentation are in portuguese. It is a documentation problem. It is out of date. In english documentation the text is correct, but in portuguese (http://www.php.net/manual/pt_BR/function.register-shutdown-function.php) the translated of 'so it was not possible to send output to the browser using echo() or print()' is incorrect! The correct is: "As funções "shutdown" registradas 'ERAM' chamadas após a requisição ter sido completamente feita (incluindo envio e saída de buffer), então isso não 'ERA' possível enviar saída para o brownser usando echo() ou print(), ou recuperar o conteúdo de algum buffer de saída usando ob_get_contents()." This text explain a change of version 4.1. ------------------------------------------------------------------------ [2009-12-18 06:11:47] kalle@php.net Is this a documentation bug or is it a translation bug? And please use english language for future replies/reports, Thanks. ------------------------------------------------------------------------ [2009-12-16 13:31:14] rubens21 at gmail dot com Description: ------------ O texto não foi atualizado desde a versão 4.1.0. A parte que fala 'não é possível enviar saída para o brownser usando echo() ou print()' está desatualizado. Os 'echo's e 'print's chamados dentro das funções registradas pelo 'register_shutdown_function' são enviados para o navegador desde a versão 4.1.0. Reproduce code: --------------- --- From manual page: function.register-shutdown-function#Descrição --- register_shutdown_function('saida'); echo "Aqui é no script"; exit("\npedi para encerrar o script"); function saida() { echo "\nIsso é visto no navegador"; print "\nIsso também"; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=50492&edit=1

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