PHP 4.0 Bug #8791 Updated: core dump when trying to get_class_vars on a class with a hash variable

From: Date: Sat, 20 Jan 2001 02:35:53 +0000
Subject: PHP 4.0 Bug #8791 Updated: core dump when trying to get_class_vars on a class with a hash variable
Groups: php.dev 
Request: Send a blank email to php-dev+get-44618@lists.php.net to get a copy of this message
ID: 8791 Updated by: sniper Reported By: rduarte@tvgrid.com Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Does this happen with PHP 4.0.4pl1 ? I tried with latest CVS and it didn't crash. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-18 13:37:28] rduarte@tvgrid.com 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 : $valn"; ?> 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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8791

« previous php.dev (#44618) next »