return; return true and return false - what are the differences?
<p>In languages like javascript/c++, sometimes there are <code>return false;</code> or <code>return 0;</code> being used. However, in languages like PHP, <code>return;</code> stops the script, and <code>return false;</code> returns the (bool) false and continues the script.</p>

<p>It is confusing me alot lately.</p>

<p>Can anyone explain what are the usages of return?</p>

<p>Ps. My questions is mostly PHP/javascript/jQuery related.</p>
