Jump to content

"->" When only we use it?


pplNet

Recommended Posts

Hi all,

I am totally confused about this thing "->"....

I know it appear during we call records like

$resource->field

we also use it in class method.

 

But in some cases I saw ppl use it in Array...

So, what is the meaning of "->"???

when we use it?

how we use it?

 

I found this from Joomla code

$arr[$i]->$key;

 

Please explain if anyone know.

 

Thanks for everyone!

Link to comment
https://forums.phpfreaks.com/topic/123803-when-only-we-use-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.