#34522 [Opn->Bgs]: Unexpected output
| From: | sniper@php.net | Date: | Fri, 16 Sep 2005 08:01:49 +0000 |
| Subject: | #34522 [Opn->Bgs]: Unexpected output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85143@lists.php.net to get a copy of this message | ||
ID: 34522
Updated by: sniper@php.net
Reported By: tv at net4you dot bg
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Windows XP/Apache 2.0.54
PHP Version: 5.1.0RC1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-09-16 09:07:13] tv at net4you dot bg
executing this code return an unexpected result. Changing echo
"Error";
to return "Error"; fix the problem but in larger functions sometimes
we
need to print output.
------------------------------------------------------------------------
[2005-09-16 08:57:49] tv at net4you dot bg
Description:
------------
executing this code return an unexpected result. Changing echo "Error";
to return "Error"; fix the problem put in larger functions sometimes we
need to print output.
Reproduce code:
---------------
<?php
print "test". Test()."test";
function Test() {
echo "Error";
}
?>
Expected result:
----------------
testErrortest
Actual result:
--------------
Errortesttest
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34522&edit=1