title: what is difference between -> and => in laravel
body: <p>This is the code where we have used -> and => .</p>
  
  <p>But I always get confused, while writing code at that time which one to use and where.</p>
  
  <p>So seeking its logic to easily remember it.</p>
  
  <pre><code>   $quan= $request-&gt;all();
     ChaiExl::create(['date'=&gt;date('Y-m-d',strtotime($quan['dt'])),'quantity'=&gt;$quan['quan']]);
  
  return view('edit',['row'=&gt;$row]);
  </code></pre>