PhpSandbox\PHPSandbox::hasWhitelistedMagicConsts PHP Méthode

hasWhitelistedMagicConsts() public méthode

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