I am trying to echo a variable inside an include file.
@include('path.to.some.file')
<?php $var = "Hello World";?>
{!!$var!!}
But when i open the browser i see original code as
{!!$var!!}
instead of the string value assigned to the variable.
However, there is smooth execution of everything on any files without being called through @include.
Here is a screenshot of the issue: