无法在我的PHP表单中回显

support : Ubuntu, Phpstorm.

I'm extracting data from a text file, using regex, and then i want to input my $match_gsm[n] (result of regex) into my php form like this :

$form_souscription->add('Text', 'num_gsm')
              ->label('Num du GSM ')
              ->value('<?php echo $match_gsm[2]; ?>');

The problem is that my $match_gsm[2] is defined in another php file, so when i execute this piece of code, i get my php command into the field... instead of having the value contained in that variable.

When using an : `include 'file_upload.php';

I still get the same output in my form field.

Hope i'm dumb and the answer is obvious,

Thanks in advance,

Regards,

Stelio Kontos.