From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to