php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17505 Output\warning reports sequence problem
Submitted: 2002-05-29 08:49 UTC Modified: 2002-05-30 04:23 UTC
From: wambat at auto dot ru Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.1 OS: FreeBSD 4.5
Private report: No CVE-ID: None
 [2002-05-29 08:49 UTC] wambat at auto dot ru
Warning reports (Then executing queries to MySQL) come to output ,before earlier placed "echo" directive.
<?
echo "test\n";
#include("myfunc.inc");
myfunc();
/*call to function, which generates "PHP Warning:  Supplied argument is not a valid MySQL-Link resource"*/
?>
Produces

X-Powered-By: PHP/4.1.2
Content-type: text/html
PHP Warning:  Supplied argument is not a valid MySQL-Link resource in 
.....
.....
test

after 'test' message order of messages/echos  seems to be restored to expected.
Same problem in php 4.1.2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-30 04:23 UTC] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 20:00:01 2025 UTC