Bug #15542 Updated: array_merge with $_SESSION

From: Date: Sat, 13 Apr 2002 09:21:20 +0000
Subject: Bug #15542 Updated: array_merge with $_SESSION
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4815@lists.php.net to get a copy of this message
ID: 15542 Updated by: ceco@noxis.net Reported By: ceco@noxis.net -Status: Feedback +Status: Closed Bug Type: Session related Operating System: linux PHP Version: 4.1.1 New Comment: yes it works :) Previous Comments: ------------------------------------------------------------------------ [2002-04-12 18:30:16] sniper@php.net I can not reproduce this with PHP 4.2.0RC3. Please try it out: http://www.php.net/~derick/ ------------------------------------------------------------------------ [2002-02-13 12:00:33] ceco@noxis.net actually the problem is only with $_SESSION = $somearray; (no array_merge is needed) for a backtrace i will try later, no time now :( ------------------------------------------------------------------------ [2002-02-13 11:51:25] derick@php.net To properly diagnose this bug, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". ------------------------------------------------------------------------ [2002-02-13 11:47:56] ceco@noxis.net the problem is that I try the thing $_SESSION = array_merge($_SESSION, pg_fetch_array($res, 0, PGSQL_ASSOC)); it makes segmentation falt may be I try something wrong, but segfault is not right too ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15542&edit=1

« previous php.bugs (#4815) next »