title: printing zero in case of null in foreach loop
body: <p>A php code is shown here  </p>
  
  <pre><code>foreach ($icx_json_date as $key_date =&gt; $icx_value_date) {
  
          echo $icx_value_date["isd_out_traffic"] . ", ";
      }
  </code></pre>
  
  <p>the output for this code is </p>
  
  <pre><code>, , , , , , 14449.25, 881.50,
  </code></pre>
  
  <p>I want to replace the null output with zero and show the output as </p>
  
  <pre><code>0, 0, 0, 0, 0, 0, 14449.25, 881.50,
  </code></pre>
  
  <p>what changes should be done to do so?</p>