I’m often confused by these two.
How are these used differently?
I’m often confused by these two.
How are these used differently?
-> is used to access objects, => is used when defining arrays.
$myObject=new SomeObject();
$myObject->doSomething();
$myArray=array(
'test'=>'ing, 1,2,3,4...'
);
Thank you, sir.