Identify word in text

iI want identify word (%%Parasas) from textarea($model->text)

in view:


<?= $model->text;

 if($model->text == `%%Parasas`): ?>

 <?=
 \inquid\signature\SignatureWidget::widget(['clear' => true, 'undo' => true,  'url' => 'view?id='. $model->id , 'save_server' => true]);
 // Yii::$app->response->return(['view', 'id'=>$t_fillup->id]);  ?>

<h1>yes</h1>

<?php else: ?>

        <h1>Done</h1>
<?= Yii::info(serialize($model->text)); ?>

<?php endif; ?>

OK. What prevents you doing that?