I am unable to understand below php Function code - : <p>How it will print hello - If hello is true, then the function must print hello, but if the function doesn’t receive hello or hello is false the function must print bye.</p>

<pre><code>&lt;?php
function showMessage($hello=false){
  echo ($hello)?'hello':'bye';
}
?&gt;
</code></pre>
