print behavior php
<p>Below is something strange, I didn't get</p>

<pre><code>if (print("foo") || print("bar")) {
  // "foo" has been printed.
}
</code></pre>

<p>Why the output is <code>1</code>?</p>

<p>Could please explain?</p>
