PhpSandbox\PHPSandbox::hasDefinedMagicConsts PHP Method

hasDefinedMagicConsts() public method

Query whether PHPSandbox instance has defined magic constants
public hasDefinedMagicConsts ( ) : integer
return integer Returns the number of magic constants this instance has defined
    public function hasDefinedMagicConsts()
    {
        return count($this->definitions['magic_constants']);
    }
PHPSandbox