Library/Call.php
public function addCallStatusFlag(CompilationContext $compilationContext)
    {
        if (!$compilationContext->symbolTable->hasVariable('ZEPHIR_LAST_CALL_STATUS')) {
            $callStatus = new Variable('int', 'ZEPHIR_LAST_CALL_STATUS', $compilationContext->branchManager->getCurrentBranch());
            $callStatus->setIsInitialized(true, $compilationContext);
            $callStatus->increaseUses();
            $callStatus->setReadOnly(true);
            $compilationContext->symbolTable->addRawVariable($callStatus);
        }
    }
public function addCallStatusFlag(CompilationContext $compilationContext)
    {
        if (!$compilationContext->symbolTable->hasVariable('ZEPHIR_LAST_CALL_STATUS')) {
            $callStatus = new Variable('int', 'ZEPHIR_LAST_CALL_STATUS', $compilationContext->branchManager->getCurrentBranch());
            $callStatus->setIsInitialized(true, $compilationContext);
            $callStatus->increaseUses();
            $callStatus->setReadOnly(true);
            $compilationContext->symbolTable->addRawVariable($callStatus);
        }
    }
public function addCallStatusFlag ( CompilationContext $ compilationContext ) { if ( ! $ compilationContext -> symbolTable -> hasVariable ( 'ZEPHIR_LAST_CALL_STATUS' ) ) { $ callStatus = new Variable ( 'int' , 'ZEPHIR_LAST_CALL_STATUS' , $ compilationContext -> branchManager -> getCurrentBranch ( ) ) ; $ callStatus -> setIsInitialized ( true , $ compilationContext ) ; $ callStatus -> increaseUses ( ) ; $ callStatus -> setReadOnly ( true ) ; $ compilationContext -> symbolTable -> addRawVariable ( $ callStatus ) ; } }
Add the last-call-status flag to the current symbol table.

@param CompilationContext $compilationContext
Add the last - call - status flag to the current symbol table .