PhpSandbox\PHPSandbox::hasWhitelistedGlobals PHP Méthode

hasWhitelistedGlobals() public méthode

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