title: How to print an Array on one line
body: <p>I've searched for answers but none have related directly or i haven't been able to adapt it to fix my problem</p>
  
  <p>How would I print the following in one line </p>
  
  <pre><code>&lt;?php
  
  $product_array = array("id"=&gt;001, "description"=&gt;"phones", "type"=&gt;"iphone");
  
  
  print "Print the product_array = ";
  print_r($product_array);
  
  ?&gt;
  </code></pre>
  
  <p><strong>Current result</strong></p>
  
  <p>Print the product_array =Array</p>
  
  <blockquote>
    <p>(</p>
    
    <p>[id] => 001</p>
    
    <p>[description] => phones</p>
    
    <p>[type] => iphone</p>
    
    <p>)</p>
  </blockquote>
  
  <p><strong>Wanted Result</strong></p>
  
  <blockquote>
    <p>Print the product_array =Array ( [id] => 001 [description] => phones
    [type] => iphone )</p>
  </blockquote>