--TEST-- user defined error handler + set_error_handling(EH_THROW) --SKIPIF-- --FILE-- getMessage()."\n"; } ?> ==DONE== --EXPECTF-- before in catch: DirectoryIterator::__construct(c:\not\exists\here): %s (code: 3) ==DONE==