title: How to use php arrow function in Laravel web.php Route
body: <p>hi I want to use this in laravel</p>
  <pre><code>Route::get('/a',fn() =&gt; view('a'));
  </code></pre>
  <p>instead of :</p>
  <pre><code>Route::get('/a', function () {
      return view('a');
  });
  </code></pre>
  <p>but it doesn't work</p>