PhpSandbox\PHPSandbox::hasBlacklistedGlobals PHP Method

hasBlacklistedGlobals() public method

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