ID:               33446
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bens at effortlessis dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Variables related
 Operating System: WhiteBox Enterprise Linux 4
 PHP Version:      5.0.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




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

[2005-06-23 10:44:03] bens at effortlessis dot com

Description:
------------
a) When you define a simple variable, and then reference it with
another variable, both variables become references... What does this
reference? Why does the status of a previously defined variable change?


b) No modules defined. (./configure; make; make install;) 

Stock install, stock php.ini. 

Reproduce code:
---------------
<? 

$b=5; 
$a=&$b; 
var_dump(Get_Defined_Vars());

?> 

Expected result:
----------------
..... 
  ["b"]=>
  int(5)
  ["a"]=>
  &int(5)
} 

Actual result:
--------------
....
  ["b"]=>
  &int(5)
  ["a"]=>
  &int(5)
} 


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


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

Reply via email to