title: Zend Framework: Check if Zend View Placeholder isset
body: <p>How can I check if a Zend View Placeholder isset before echo-ing it out? As I am wanting to prepend " - " to it before outputting it. </p>
  
  <p>I tried </p>
  
  <pre><code>echo isset($this-&gt;placeholder('title')) 
      ? ' - ' . $this-&gt;placeholder('title') 
      : '';
  </code></pre>
  
  <p>But I got </p>
  
  <blockquote>
    <p>Fatal error: Can't use method return
    value in write context in
    D:\Projects\Websites\php\ZendFramework\LearningZF\application\layouts\scripts\layout.phtml
    on line 5</p>
  </blockquote>
  
  <p>On a side note, how come when I got this error, why isn't it shown in the Error View Script? The error was shown in a blank page without layout. </p>