title: how to echo doctype, set in application.ini, in zend framework view
body: <p>In my Zend Framework application I want to echo the doctype in my view layout with:</p>
  
  <pre><code>&lt;?= $this-&gt;doctype() . "\n"; ?&gt;
  </code></pre>
  
  <p>I have the following lines in my application.ini:</p>
  
  <pre><code>resources.view[] =
  resources.view.doctype = "HTML5"
  resources.view.charset = "UTF-8"
  </code></pre>
  
  <p>which gives me:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  </code></pre>
  
  <p>apparently the settings in the application.ini are ignored and instead the default doctype is used.</p>
  
  <p>Is there a way to echo the doctype in my view / layout without using the bootstrap (I know that works but I do not want to have my settings scattered over application.ini and bootstrap)?</p>