title: Function doesn't come to the end
body: <pre><code>$time = time();
  
  $foo = array(
      1448319600 =&gt; array(
          array(
              'foo' =&gt; 'bar'
          ),
          array(
              'bar' =&gt; 'foo'
          )
      ),
      1448578800 =&gt; array(
          array(
              'foo2' =&gt; 'bar2'
          ),
          array(
              'bar2' =&gt; 'foo2'
          )
      )
  );
  
  function bar($time, $foo) {
      $count = 0;
      do {
          $count++;
          $time = strtotime('+1 day', $time);
      } while (isset($foo[$time]) === false);
      return array(
          'count' =&gt; $count,
          'foo' =&gt; $foo[$time]
      );
  }
  
  bar($time, $foo);
  </code></pre>
  
  <p>It's loading and loading and loading, because <code>isset($foo[$time]) === false</code> always seems to be true. I just can't find the error.</p>
  
  <p>(Some more text to be able to submit. Some more text to be able to submit. Some more text to be able to submit.)</p>