PhpMigration\Changes\v5dot3\IncompByReference::positionWithRef PHP Метод

positionWithRef() защищенный Метод

protected positionWithRef ( $node )
    protected function positionWithRef($node)
    {
        $posbit = 0;
        foreach ($node->params as $pos => $param) {
            if ($param->byRef == 1) {
                $posbit |= 1 << $pos;
            }
        }
        return $posbit;
    }