PhpSandbox\PHPSandbox::hasWhitelistedGlobals PHP Method

hasWhitelistedGlobals() public method

Query whether PHPSandbox instance has whitelisted globals.
public hasWhitelistedGlobals ( ) : integer
return integer Returns the number of whitelisted globals this instance has defined
    public function hasWhitelistedGlobals()
    {
        return count($this->whitelist['globals']);
    }
PHPSandbox