From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: core dump when trying to get_class_vars on a class with a hash
variable
TEST SCRIPT:
<?
class xyz {
var $x = array('a' => 'df', 'b' => 'dd', 'c' => 'fd');
}
$arr = get_class_vars('xyz');
while(list($key,$val) = each($arr)) print "Properties $key has value : $val\n";
?>
CONFIG LINE:
'./configure' '--with-mysql=/usr/local/mysql' '--enable-track-vars' '--without-gd'
'--with-xml' '--without-ldap' '--without-imap'
Sorry, I couldn't get a gdb backtrace because my php wasn't compiled with the debug
stuff turned on. I suspect that you'd be able to reproduce this easily though. Let
me know if you need any more information from me.
--
Edit Bug report at: http://bugs.php.net/?id=8791&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]