2017 © Pedro Peláez
 

library is_cli

adds a global constant for CLI environments

image

henderjon/is_cli

adds a global constant for CLI environments

  • Tuesday, October 14, 2014
  • by henderjon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 43 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

is_cli

Defines a constant for checking if the current process is being run via CLI., (*1)

usage

if(IS_CLI){ /* noop */ } or if(is_cli()){ /* noop */ }, (*2)

Latest Stable Version Build Status, (*3)

The Versions

14/10 2014

dev-master

9999999-dev http://github.com/henderjon/is_cli

adds a global constant for CLI environments

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

11/08 2014

v1.0.1

1.0.1.0 http://github.com/henderjon/is_cli

adds a global constant for CLI environments

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

11/08 2014

v1.0.0

1.0.0.0 http://github.com/henderjon/is_cli

adds a global constant for CLI environments

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

11/08 2014

v0.1.0

0.1.0.0 http://github.com/henderjon/is_cli

adds a global constant for CLI environments

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0