ScopeInterface
                
            in
            
        
    
        
        
Table of Contents
Constants
- DETACHED = 1 << (\PHP_INT_SIZE << 3) - 1
- The associated context was already detached.
- INACTIVE = 1 << (\PHP_INT_SIZE << 3) - 2
- The associated context is not in the active execution context.
- MISMATCH = 1 << (\PHP_INT_SIZE << 3) - 3
- The associated context is not the active context.
Methods
- detach() : int
- Detaches the context associated with this scope and restores the previously associated context.
Constants
DETACHED
The associated context was already detached.
    public
        mixed
    DETACHED
    = 1 << (\PHP_INT_SIZE << 3) - 1
    
    
    
    
INACTIVE
The associated context is not in the active execution context.
    public
        mixed
    INACTIVE
    = 1 << (\PHP_INT_SIZE << 3) - 2
    
    
    
    
MISMATCH
The associated context is not the active context.
    public
        mixed
    MISMATCH
    = 1 << (\PHP_INT_SIZE << 3) - 3
    
    
    
    
Methods
detach()
Detaches the context associated with this scope and restores the previously associated context.
    public
                    detach() : int
    Tags
Return values
int —zero indicating an expected call, or a non-zero value indicating that the call was unexpected