From: [EMAIL PROTECTED]
Operating system: slackware 7.1
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: wrong variable is initialized
function Bjbase($antal){
$this->$lekar=$antal;
$this->$dragna=array();
$this->$ess=58;
echo $this->$dragna;
}
this is a constructor
the echo statement prints 58 even though that it is $ess that is initialized to 58.
The variable $dragna is not treated as an array anywhere but when the $ess line is
gone it works fine.
tried at another server too.
is this a problem you know of?
--
Edit Bug report at: http://bugs.php.net/?id=9164&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]