what is this thing: ->
Posted: Tue Jun 19, 2007 11:08 pm
Dumb question:
There is a piece of code that I want to modify. But I keep coming across the operator ->
What is it? Google search does not return anything sensible, probably because it ignores those characters. Same with devNet searches, php dot net. I am sure it is a simple thing, but I don't know php. Is it some kind of value assignment? Or is it passing values?
For example in:
return $this->data['title'];
what is the operator that comes after $this
Thanks
There is a piece of code that I want to modify. But I keep coming across the operator ->
What is it? Google search does not return anything sensible, probably because it ignores those characters. Same with devNet searches, php dot net. I am sure it is a simple thing, but I don't know php. Is it some kind of value assignment? Or is it passing values?
For example in:
return $this->data['title'];
what is the operator that comes after $this
Thanks