错误,PHP中意外的T_IF错误? [重复]

This question already has an answer here:

Parse error: syntax error, unexpected T_IF in update.php on line 90

I really dont see any problem in my code, why this is happening, please help.

<?= Html::activeHiddenInput($model, 'organization_title') ?>


    <?= $form->field($model, 'reason') ?>

90 line!    <?= if ($model->move_type === 1) { ?>
        <div id="partial-cost">
        <?=  $this->render('_cost-fields', [
            'model' => $model,
            'sourceType' => $sourceType,
            'typeDropdown' => $typeDropdown,
            'targetDropdown' => $targetDropdown,
            'form' => $form
            ]) ?>
        </div>
    <?= } ?>

    <?= if ($model->move_type === 0) { ?>
        <div id="partial-income" >
        <?= $this->render('_income-fields', [
            'model' => $model,
            'sourceType' => $sourceType,
            'typeDropdown' => $typeDropdown,
            'targetDropdown' => $targetDropdown,
            'form' => $form
            ]) ?>
        </div>  
    <?= } ?>



    <div class="form-group">
        <button type="submit" class="btn btn-default">Save</button>
    </div>
</div>

<?= is a shorthand for <?php echo - you can't echo an if-statement.

This also applies to your lines reading <?= } ?>.