title: laravel blade include passing data to parent
body: <p>i have  blade file view  like this</p>
  
  <pre><code>&lt;?php $a=1; ?&gt;
   @include('view_bind_array_form',['a'=&gt;$a]); 
  &lt;?php dd($a); ?&gt;
  </code></pre>
  
  <p>and contain in view_bind_array_form </p>
  
  <pre><code>&lt;?php
  
    $a=5;
  
   ?&gt;
  </code></pre>
  
  <p>i want to replace $a to 5(like value of include)</p>
  
  <p>but in this case $a still have value 1;</p>
  
  <p>questions 
  1. how to replace value $a after calculating in include blade and return result calculating</p>
  
  <p>can u help. please </p>