is "->" in php similar (a.k.a equivalent) to "." in javascript?
<p>In other words, php</p>

<pre><code>$object-&gt;method();
</code></pre>

<p>and</p>

<pre><code>$object-&gt;property = 'someValue';
</code></pre>

<hr>

<p>is equivalent to, js:</p>

<pre><code>$object.method();
</code></pre>

<p>and</p>

<pre><code>$object.property = 'someValue';
</code></pre>

<p>I am curious, or is my php and js understanding messed up?</p>
