title: PHP Class Return ErrorInfo()
body: <p>I have the following class in PHP</p>
  
  <pre><code>class MyDB extends SQLite3
  {
      function __construct()
      {
          $this-&gt;open('Database.db');
      }
  }
  </code></pre>
  
  <p>and it is called by <code>$db = new MyDB();</code>. Is there a way to make <code>$db-&gt;errorInfo()</code> return the errorInfo() function for databases?</p>