ID:               43423
 Updated by:       [EMAIL PROTECTED]
 Reported By:      leandroico at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Linux box331.bluehost.com 2.6.22
 PHP Version:      5.2.5
 New Comment:

The PHP 5.1 series is unsupported. Please update to 5.2.


Previous Comments:
------------------------------------------------------------------------

[2007-11-27 10:08:02] leandroico at gmail dot com

Description:
------------
Actually the PHP version encountered this apparently bug is 5.1.6, but
I haven't found that option at the select box above.

On he other hand, on my developer machine (using windows xp/apache/php
5.2) I haven't the presence of this anomaly.

THE PROBLEM:
$_SESSION variables (the direct elements of $_SESSION), when
"var_dumped", is noticed that they (each $_SESSION element) are being
referenced somehow, because the presence of the '&' before the variable
type on var_dump output. And because this phenomena I'm having big
trouble, making clear I can't update server's php version.

Reproduce code:
---------------
var_dump($_SESSION);

Expected result:
----------------
array(9) {
  ["usr1d"]=>
  string(2) "68"
  ["tat"]=>
  string(1) "7"
  ["grupo"]=>
  string(5) "ativa"
  ["agenc"]=>
  string(2) "RJ"
  ["nam3"]=>
  string(23) "Manoel Carlos M. CorrĂȘa"
  ["ema1l"]=>
  string(17) "[EMAIL PROTECTED]"
  ["idiom"]=>
  string(2) "pt"
  ["logado"]=>
  string(6) "logado"
  ["consulta"]=>
  &array(0) {
  }
}

Actual result:
--------------
array(9) {
  ["usr1d"]=>
  &string(2) "68"
  ["tat"]=>
  &string(1) "7"
  ["grupo"]=>
  &string(5) "ativa"
  ["agenc"]=>
  &string(2) "RJ"
  ["nam3"]=>
  &string(23) "Manoel Carlos M. CorrĂȘa"
  ["ema1l"]=>
  &string(17) "[EMAIL PROTECTED]"
  ["idiom"]=>
  &string(2) "pt"
  ["logado"]=>
  &string(6) "logado"
  ["consulta"]=>
  array(0) {
  }
}


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43423&edit=1

Reply via email to