title: How to destroy an object?
body: <p>As far as I know (which is very little) , there are two ways, given:</p>
  
  <pre><code>$var = new object()
  </code></pre>
  
  <p>Then:</p>
  
  <pre><code>// Method 1: Set to null
  $var = null;
  // Method 2: Unset 
  unset($var); 
  </code></pre>
  
  <p>Other better method? Am I splitting hairs here?</p>