Hi guys, Hope someone can give me a hand here. Let's imagine we have a class like this one: class myClass() { var $msg = "Hello world"; function someFunction() { // do some random stuff here and then... $this->msg = $new_msg; // ... change var $msg to what we got in this function... } function yetAnotherFunction() { echo $this->msg; } } $t = new myClass(); $t->someFunction(); $t->yetAnotherFunction(); // this outputs "Hello world", when it should be the new message PHP: ... any ideas? What I'm I doing wrong? UPDATE: Nevermind. Found out what was wrong and fixed it.