title: Why did this work? ( php dot notation )
body: <p>I was writing some php code after a long sint doing ruby  and I accidently wrote this:</p>
  
  <pre><code>[root@ip-10-160-47-98 test]# cat run.php
  &lt;?php
  
  class MyTest {
  
     public function run() {
        var_dump(this.test);
     }
  }
  
  $object = new MyTest();
  $object-&gt;run();
  [root@ip-10-160-47-98 test]# php run.php
  string(8) "thistest"
  [root@ip-10-160-47-98 test]#
  </code></pre>
  
  <p>Now, this.test should have been $this->test, but the compiler was actually happy to let this run.</p>
  
  <p>Does anyone know how (this.test) got converted into a string "thistest"?</p>
  
  <p>Compiled and run on php 5.3.2 amazon instance ami-e32273a6 (CentOS 5.4)</p>
  
  <p>-daniel</p>