title: php json decode array of objects in laravel
body: <p>How to extract only <code>15</code> from <code>[{"1":"15"}]</code> in Laravel controller? </p>
  
  <pre><code>$var = array();
  $mku = $mark-&gt;examMark;
  $var[] = json_decode($mku, true);
  </code></pre>
  
  <p>I have tried using the above code but it doesn't work.</p>