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:51:40 +0000
Subject: Re: PHP 4.0 Bug #5271: globalizing HTTP_SESSION_VARS before a session_start() gives a 11mm shot
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22747@lists.php.net to get a copy of this message
>> 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? -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#22747) next »