title: Warning: implode(): Invalid arguments passed
body: <pre><code>&lt;?php
  echo "--Array functions---";
  ?&gt;&lt;/br&gt;
  &lt;?php
  $numbers = [
      5   , 
      4, 
      2, 
      7,
      8, 
      'name' =&gt; [
          'jimit',
          'prashant',
          'neel'
      ]
  ];
  
  foreach ($numbers as $key =&gt; $value) {
      echo implode(" ", $value);
  }
  </code></pre>
  
  <p>i got array message Warning: implode(): Invalid arguments passed 
  any solution for this please suggest me</p>