The meaning of ->


$IDN = new idna_convert();
$serverName = $_SERVER["SERVER_NAME"];
$IDNserverName =  rawurlencode($IDN [COLOR="Red"]->[/COLOR] decode($serverName));
echo $IDNserverName;


I have the code above.
I like to know about the meaning of “->
If you give me a simple code which contains “->”,
It will be very helpful.

It’s used to access a member (variable) or method (function) of an object.
$IDN is your object
decode() is a method of the idna_convert class

so $IDN->decode() calls that method