#29803 [Opn->Fbk]: Seg fault on count($GLOBALS, COUNT_RECURSIVE);

From: Date: Tue, 24 Aug 2004 06:41:27 +0000
Subject: #29803 [Opn->Fbk]: Seg fault on count($GLOBALS, COUNT_RECURSIVE);
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65142@lists.php.net to get a copy of this message
ID: 29803 Updated by: derick@php.net Reported By: jome@php.net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Linux 2.4.26 PHP Version: 5CVS-2004-08-23 (dev) New Comment: Please provide the full backtrace, not just one frame. Previous Comments: ------------------------------------------------------------------------ [2004-08-23 22:10:00] jome@php.net Description: ------------ Crash on count($GLOBALS, COUNT_RECURSIVE); ./configure --disable-all --enable-cli --enable-debug --enable-memory-limit Reproduce code: --------------- <?php count($GLOBALS, COUNT_RECURSIVE); ?> Expected result: ---------------- Something similar to how var_dump() handles var_dump($GLOBALS). Actual result: -------------- Segmentation fault #0 0x08125815 in zend_hash_num_elements (ht=0x818cf30) at /usr/local/src/php5-200408231830/Zend/zend_hash.c:987 987 IS_CONSISTENT(ht); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29803&edit=1

« previous php.bugs (#65142) next »