Re: PHP 4.0 Bug #5271: globalizing HTTP_SESSION_VARS before a session_start() gives a 11mm shot

From: Date: Thu, 29 Jun 2000 11:57:42 +0000
Subject: Re: PHP 4.0 Bug #5271: globalizing HTTP_SESSION_VARS before a session_start() gives a 11mm shot
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-22748@lists.php.net to get a copy of this message
Hi Stanislav! On Thu, 29 Jun 2000, Stanislav Malyshev wrote: > >> Code: > >> <? > >> class Kill { > >> function Kill() > >> { > >> global $HTTP_SESSION_VARS; > >> session_start(); > >> } > >> } > >> $k = new Kill(); > >> > >> Backtrace: > >> > >> Program received signal SIGSEGV, Segmentation fault. > >> 0x40364f88 in zend_if_get_class_methods (ht=0, return_value=0x0, this_ptr=0x80efb00, > >> return_value_used=1078122208) at zend_builtin_functions.c:546 > >> 546 if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, > >> &class_name)==FAILURE) { > > > Couldn't reporoduce this. What's you session.save_handler setting? What's > your register_globals and track_vars settings? > files, off, on. you can see all the settings at: http://teo.digiro.net/info.php and the script at: http://teo.digiro.net/devel/php/libdev/test/kill_0.phps but I guess there is not much to see :) -- teodor

« previous php.dev (#22748) next »