[PHP-DEV] Bug #708 Updated: assignment of a value to a one member variable of a class affects other vars. From: Bug Database (php-dev <email protected>)
Date: 08/31/98

ID: 708
Updated by: zeev
Reported By: hughm <email protected>
Status: Closed
Bug Type: Other
Assigned To:
Comments:

c. none of the above - script problem

I think you could have figured that this was way too basic
to be a bug :)

Turn on error reporting all the way up by calling
error_reporting(E_ALL)
or, if you have the old 3.00,
error_reporting(13)
and I'm sure you'll figure where you were wrong.

Properties are not referenced like this:
$foo->$bar
but like this
$foo->bar

$foo->$bar has a totally different meaning.

Full Bug description available at: http://ca.php.net/bugs.php3?id=708

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>