title: Goutte - Get all values that exist
body: <p>I am using <code>"fabpot/goutte": "^3.2"</code> and <code>PHP 7.3.5</code>. </p>
  
  <p>I am trying to get data from a website using goutte:</p>
  
  <pre><code>&lt;?php
  require_once 'vendor/autoload.php';
  
  use Goutte\Client;
  
  $client = new Client();
  
  $subCrawler = $client-&gt;request('GET', 'https://www.forexfactory.com/calendar.php?month=nov.2019');
  
  $currArray = array();
  $impactArray = array();
  $reportArray = array();
  
  // currency
  $subCrawler-&gt;filter('td.calendar__cell.calendar__currency.currency')-&gt;each(function ($node) use (&amp;$currArray) {
      $currency = $node-&gt;text();
      array_push($currArray, trim($currency));
  });
  
  // impact
  $subCrawler-&gt;filter(' td.calendar__cell.calendar__impact.impact.calendar__impact.calendar__impact &gt; div.calendar__impact-icon.calendar__impact-icon &gt; span')-&gt;each(function ($node) use (&amp;$impactArray) {
      $impact = $node-&gt;text();
      array_push($impactArray, trim($impact));
  });
  
  //report
  $subCrawler-&gt;filter('td.calendar__cell.calendar__event.event &gt; div &gt; span')-&gt;each(function ($node) use (&amp;$reportArray) {
      $report = $node-&gt;text();
      array_push($reportArray, trim($report));
  });
  
  $multi = array();
  foreach ($currArray as $key =&gt; $v) {
      $multi[] = [$currArray[$key], $impactArray[$key], $reportArray[$key]];
  }
  $json_data = json_encode($multi);
  file_put_contents('data/data.json', $json_data);
  </code></pre>
  
  <p>As you can see I only get <code>370</code> values for my impact array, instead of <code>376</code> values, which I cannot add to my final array - <code>$multi[]</code> -, as the order is not right.</p>
  
  <p>Find below the different sizes of the array</p>
  
  <p><a href="https://i.stack.imgur.com/Mnatj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mnatj.png" alt="enter image description here"></a></p>
  
  <p>Any suggestions what I am doing wrong?</p>
  
  <p>I appreciate your reply!</p>