Date: 05/30/99
- Next message: andrey: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: Andrey Zmievski: "[PHP-DEV] PCRE done"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: andraax <email protected>
Operating system: Linux 2.2.5-15 Redhat
PHP version: 3.0.7
PHP Bug Type: Misbehaving function
Bug description: String assignement in class
let's see this code:
class dummy{
var $yes ;
var $no ;
function dummy($y, $n ) {
$this->$yes = $y ;
$this->$no = $n ;
print "Y=$y|YES=".$this->$yes."|N=$n|NO=".$this->$no."<BR>" ;
}
}
$test = new dummy("ab", "cd") ;
//OUPUT =Y=ab|YES=cd|N=cd|NO=cd !!!
-- 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>
- Next message: andrey: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: Andrey Zmievski: "[PHP-DEV] PCRE done"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

