Bug #17505: Output\warning reports sequence problem

From: Date: Wed, 29 May 2002 12:49:57 +0000
Subject: Bug #17505: Output\warning reports sequence problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8837@lists.php.net to get a copy of this message
From: wambat@auto.ru Operating system: FreeBSD 4.5 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: Output\warning reports sequence problem 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 -- Edit bug report at http://bugs.php.net/?id=17505&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17505&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17505&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17505&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17505&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17505&r=support Expected behavior: http://bugs.php.net/fix.php?id=17505&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17505&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17505&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17505&r=globals

« previous php.bugs (#8837) next »