title: PHP Illegal String Offset Warning on Array
body: <p>I get illegal string offset warning from the array inside if statement</p>
  
  <pre><code>411.  if (is_array($attrib['affixes'])) { // merge
  412.     $new_affix = array_merge($attrib['affixes'], $new_affix);
  413.  }
  </code></pre>
  
  <p>Exactly the warning is </p>
  
  <blockquote>
    <p>"Warning: Illegal string offset 'affixes' in C:\xampp\htdocs\pengakar-master\src\Pengakar.php on line 411"</p>
  </blockquote>
  
  <p>I insert the full code below : </p>
  
  <p><a href="http://ideone.com/QQEdCu" rel="nofollow noreferrer">http://ideone.com/QQEdCu</a></p>
  
  <p>Another part is alright.
  Only that part that get the error</p>
  
  <p>Thanks for the help.</p>