Often there is code that contains the opening and closing of php tags on each line. For example:
<?= $form->field($model, 'username')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'auth_key')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'password_hash')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'password_reset_token')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'password_reset_code')->textInput(['maxlength' => true]) ?> - Why in a regular php file constantly open and close <? Php?>?
- Does this design affect the speed of execution of the file?