Browse posteets
About
Contact us
Log In
Register
View: Check if PHP is run from command-line (CLI)
Check if PHP is run from command-line (CLI)
3 months ago
by
spirit
if
(
PHP_SAPI ===
'cli'
)
// In CLI mode
cli
php
View source
0 comment
about "Check if PHP is run from command-line (CLI)"
Tags
cli
php
0 comment about "Check if PHP is run from command-line (CLI)"