-4

$blabla->blab, just wondering what this means something to do with an object going into another?

Sorry for being a bit vague .

007
  • 23
  • 6

1 Answers1

0

The arrow-like symbol has nothing to do with "an object going into another".

  1. The syntax $blabla->blab means a call to attribute $blab in the object $blabla.
  2. The syntax $blabla->blab() means a call to method blab() in the object $blabla.

Please read the Basics in PHP documentations.

Koala Yeung
  • 7,475
  • 3
  • 30
  • 50