Hey guys,
while trying to learn PHP i’ve come across “->”
its used like this
$varibal->something()
I have never seen that used in javascript, or actionscript. so naturally i have no idea what it does. I think it might mean “use something() on the designated varibal”.
2nd thing is, in a array i have seen scripts that do something like this:
array(1 => ‘January’, ‘February’, ‘March’);
I was like, huh? there using the => to make an array? What is that doing in the array? if you could clear this up for me that would be great! :be: