#50492 [NEW]: as saídas de echo e print são enviadas para o navegador desde a versão 4.1

From: Date: Wed, 16 Dec 2009 13:31:14 +0000
Subject: #50492 [NEW]: as saídas de echo e print são enviadas para o navegador desde a versão 4.1
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3481@lists.php.net to get a copy of this message
From: rubens21 at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: as saídas de echo e print são enviadas para o navegador desde a versão 4.1 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 bug report at http://bugs.php.net/?id=50492&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50492&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50492&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50492&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50492&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50492&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50492&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50492&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50492&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50492&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50492&r=support Expected behavior: http://bugs.php.net/fix.php?id=50492&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50492&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50492&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50492&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50492&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50492&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50492&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50492&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50492&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50492&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50492&r=mysqlcfg

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