Dereferencing confusion? What is this example here called?
<p>Considering this PHP example:</p>

<pre><code>class A
{
  public function getB( )
  {
    return new B();
  }
}

class B
{
  public function test( )
  {
    echo "Hello";
  }
}
</code></pre>

<p>I could use this:</p>

<pre><code>$a = new A( );
$b = $a-&gt;getB( );
$b-&gt;test( ); // Hello
</code></pre>

<p>Or this:</p>

<pre><code>$a = new A();
$a-&gt;getB( )-&gt;test( ); // Hello
</code></pre>

<p>Taking a closer look at the second example...</p>

<ul>
<li>What is the name of this form of expression?</li>
<li><p>Does this have something to do with dereferencing?</p></li>
<li><p>In which programming languages is this available?</p></li>
<li>What other forms of this exist?</li>
</ul>
