-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
</tbody>
</table>
<p>Checks to see if the application was run from the command-line
interface.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This method checks both the PHP SAPI name currently in use
and if the <tt class="docutils literal"><span class="pre">STDIN</span></tt> constant is defined, which is usually a
failsafe way to see if PHP is being run via the command l