PhpSandbox\PHPSandbox::_intval PHP Method

_intval() public method

Return integer value of SandboxedString or mixed value
public _intval ( mixed $value ) : integer
$value mixed Value to return as integer
return integer Returns the integer value
    public function _intval($value)
    {
        return intval($value instanceof SandboxedString ? strval($value) : $value);
    }
PHPSandbox