Returns true if PHP was invoked from command-line interface (shell)
public static isPhpCliMode ( ) : boolean | ||
return | boolean | true if PHP invoked as a CGI or from CLI |
public static isPhpCliMode ( ) : boolean | ||
return | boolean | true if PHP invoked as a CGI or from CLI |