title: Fatal error: Call to undefined function file_iterator_autoload()
body: <p>We are developping a Symfony2 project on which we wrote several PHPUnit tests.</p>
  
  <p>On some of them (the ones involving large memmory ammounts) we get an error message:</p>
  
  <blockquote>
    <p>There was 1 failure:</p>
    
    <p>1) GapCoach\Bundle\Tests\Controller\ClientControllerTest::testDesaClient</p>
    
    <p>Fatal error: Call to undefined function file_iterator_autoload() in /usr/share/php/PHPUnit/Util/GlobalState.php on line 379</p>
  </blockquote>
  
  <p>I installed the last PHPUnit version, and <code>file_iterator_autoload</code> function really exists and is accessible.</p>
  
  <p>How can we solve this error?</p>