[PHP-DEV] PHP 4.0 Bug #9481 Updated: Passing out class property by reference problem

2001-03-08 Thread stas
ID: 9481 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not a bug. Please read the "References explained" part in the manual. When you have $a = $b and you do $a = $c, you don't make a and b be

[PHP-DEV] PHP 4.0 Bug #9481 Updated: Passing out class property by reference problem

2001-03-08 Thread phil
ID: 9481 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Description: Passing out class property by reference problem You can get round the above problem somewhat using: function foo ($aVar) { $aVar['value'] = $GLOBALS["baz"]; } foo($bar);