Menu
I’ve started learning PHP, and I have run across these (operators???) before, but never an explanation of them. I have tried to search for them, but they always return no results, because they can’t be used as keywords, apparently. Anyway, I’ve seen them in the context,
[CODE]Array([0]=>1, [1]=>3)
and
[CODE]$rollovers->types(ROLLOVER_MOUSEOVER|ROLLOVER_MOUSEOUT)
I guess by the context that => is sort of like a literal, =, but why not use =??? And -> I’m guessing is a way of applying a method to an object? Anyway, could someone explain this to a newbie? Thanks!