|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-21 22:30 UTC] johannes@php.net
[2007-06-22 22:29 UTC] andi at splitbrain dot org
[2007-06-24 16:30 UTC] sniper@php.net
[2007-06-24 16:50 UTC] andi at splitbrain dot org
[2007-06-24 22:53 UTC] sniper@php.net
[2007-06-25 19:57 UTC] andi at splitbrain dot org
[2007-06-25 21:19 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
Description: ------------ When suppressing error output of php_strip_whitespace and trying to load a non existent file, output is started. The code below prints "not sent" on older PHP versions but prints "sent" on PHP 5.2.3-1 Reproduce code: --------------- <?php $foo = @php_strip_whitespace('non existent file'); if(headers_sent()){ echo "sent\n"; }else{ echo "not sent\n"; } Expected result: ---------------- not sent Actual result: -------------- sent