class Checks (View source)

Methods

static bool
cli()

Check if script is running from command line

static bool
multithread()

Check if php interpreter supports pcntl_fork (required in multithread mode)

static bool
signals()

Check if php interpreter supports pcntl signal handlers

Details

final static bool cli()

Check if script is running from command line

Return Value

bool

final static bool multithread()

Check if php interpreter supports pcntl_fork (required in multithread mode)

Return Value

bool

final static bool signals()

Check if php interpreter supports pcntl signal handlers

Return Value

bool