title: ternary operator in php with echo value
body: <p>I want to write the following code in ternary operator. I tried in many way but it does not work at all.</p>
  
  <pre><code>&lt;?php 
  
  if(isset($options['footer_txt_color'])) {
  
      echo $options['footer_txt_color'];
  
  } else {
  
      echo "#ffffff";
  
  }
  
  ?&gt;
  </code></pre>