Bug #14549: Warning: Unknown persistent list...
| From: | webmaster at czechmedianet dot cz | Date: | Sun, 16 Dec 2001 18:18:42 +0000 |
| Subject: | Bug #14549: Warning: Unknown persistent list... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74043@lists.php.net to get a copy of this message | ||
From: webmaster@czechmedianet.cz
Operating system: Windows 2000
PHP version: 4.1.0
PHP Bug Type: Reproducible crash
Bug description: Warning: Unknown persistent list...
What I do wrong if this easy error-less script
<?
$db = MYSQL_PCONNECT("localhost","root","") OR DIE("");
mysql_select_db("chat",$db) or DIE("");
$ares=mysql_query("select * from c_users");
echo "CHAT room - online users: ";
if (mysql_num_rows($ares)==0) echo "nobody";
while ($arow=mysql_fetch_array($ares))
{
echo $arow[username];
}
?>
produce this output with Warning message ...
CHAT room - online users: nobody
Warning: Unknown persistent list entry type in module shutdown (11) in
Unknown on line 0
This warning I see if I enable the option
error_reporting = E_ALL & ~E_NOTICE
in php.ini. This message is visible since PHP4.0.1
When I downgrade to PHP4.0.6, the message isn't there.
--
Edit bug report at: http://bugs.php.net/?id=14549&edit=1