Library/Backends/ZendEngine3/Backend.php
public function assignZval(Variable $variable, $code, CompilationContext $context)
    {
        $code = $this->resolveValue($code, $context);
        if (!$variable->isDoublePointer()) {
            $context->symbolTable->mustGrownStack(true);
            $symbolVariable = $this->getVariableCode($variable);
            $context->codePrinter->output('ZEPHIR_OBS_COPY_OR_DUP('.$symbolVariable.', '.$code.');');
        } else {
            $context->codePrinter->output($variable->getName().' = '.$code.';');
        }
    }
public function assignZval(Variable $variable, $code, CompilationContext $context)
    {
        $code = $this->resolveValue($code, $context);
        if (!$variable->isDoublePointer()) {
            $context->symbolTable->mustGrownStack(true);
            $symbolVariable = $this->getVariableCode($variable);
            $context->codePrinter->output('ZEPHIR_OBS_COPY_OR_DUP('.$symbolVariable.', '.$code.');');
        } else {
            $context->codePrinter->output($variable->getName().' = '.$code.';');
        }
    }
public function assignZval ( Variable $ variable , $ code , CompilationContext $ context ) { $ code = $ this -> resolveValue ( $ code , $ context ) ; if ( ! $ variable -> isDoublePointer ( ) ) { $ context -> symbolTable -> mustGrownStack ( true ) ; $ symbolVariable = $ this -> getVariableCode ( $ variable ) ; $ context -> codePrinter -> output ( 'ZEPHIR_OBS_COPY_OR_DUP(' . $ symbolVariable . ', ' . $ code . ');' ) ; } else { $ context -> codePrinter -> output ( $ variable -> getName ( ) . ' = ' . $ code . ';' ) ; } }
Assigns a zval to another.

@param Variable           $variable
@param string             $code
@param CompilationContext $context
Assigns a zval to another .