it seems i didnt explain it good
i have a include file with varables of 100 line and near 40 string that are not defined in this include file
that if i dont use nowdoc and use heredoc instead i will get error because didnt define the variables inside string
and i want to use this variables from include file in many places in code and before inserting or using them i will define that variables indside string
i need to define this variables first single quoted and
after that
in other place in the code first define inner variables value and force php to parse main variable
hope i can show this better this way
$vara = <<<'END'
my first name is {$first_name}
END;
in this part of code i didnt define $first_name
so if i dont use nowdoc this will bring this error
Notice: Undefined variable: first_name
now in the main code i will include above code and then
define first name
and then i need to `vara` parse and replace `$first_one` part of string with its curent value
mean
// include above file and then
$first_name = "tired";
echo $vara ;
that should out some thing like this
my name is tired
i want to know is there any way for parsing inner varables on nowdoc