I have been seeing this in a lot of php scripts i have been working with: $imdbUrl = "http://exampletexthere" ; $html = $this->geturl($imdbUrl); PHP: the section that really confuses me is the use of the arrow: where its says $this $html = $this->geturl($imdbUrl); PHP: What exactly is that line doing... looks like something(value) is being assigned not sure if am right if some one can shine a little light on this for me that would be tremendous Thanks
This is piece of code from some class declaration, what it does is - class method geturl takes url as parameter, does some manipulations to it and then returns results back. To find more how it works, try reading PHP manual about OOP. As to what $this stands for, from php manual: