what does controlling dollar pointer after $this-> php mean?


i'm small confused php syntax i've across. here an example:



$k = $this->_tbl_key;

if( $this->$k)
{
$ret = $this->_db->updateobject( $this->_tbl, $this, $this->_tbl_key, $updatenulls );
}
else
{
$ret = $this->_db->insertobject( $this->_tbl, $this, $this->_tbl_key );
}


my doubt fundamentally does $this->$k mean? i figured competence meant member non-static goes name whatever $this->_tbl_key, nonetheless work? illusory supplement member variables category during run-time?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?