title: PHP initialize variable in __construct() vs declaration
body: <p>i wonder if there is any difference between</p>
  
  <pre><code>class TestClass {
      private $_var = "abc";
  }
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>class TestClass {
      private $_var;
      function __construct() {
          $this-&gt;_var = "abc";
      }
  } 
  </code></pre>
  
  <p>i wonder if the latter is the preferred way/better practice? is there any functional difference? </p>