|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-27 18:29 UTC] tony2001@php.net
[2006-06-27 19:56 UTC] ylee at peragrin dot com
[2006-06-28 07:57 UTC] tony2001@php.net
[2006-07-06 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 21:00:01 2025 UTC |
Description: ------------ When S_SESSION is passed through a function with global $_SESSION, the apache's child processor segfaults. Reproduce code: --------------- <?php session_id("temp"); session_start(); $_SESSION['a'] = 'test'; function my_get_from($list) { global $_SESSION; // removed code related to manipulating $_SESSION using $list. } my_get_from('a', $_SESSION); if (isset($_SESSION)) { print_r($_SESSION); } ?> Expected result: ---------------- An error message would be nice or being able to access both list will be the most desirable solution. This code used work on 4.* releases. Actual result: -------------- [Tue Jun 27 11:14:16 2006] [notice] child pid 15899 exit signal Segmentation fault (11)