1--TEST-- 2DirectoryIterator: Test empty value to DirectoryIterator constructor 3--CREDITS-- 4Havard Eide <nucleuz@gmail.com> 5#PHPTestFest2009 Norway 2009-06-09 \o/ 6--FILE-- 7<?php 8$it = new DirectoryIterator(""); 9?> 10--EXPECTF-- 11Fatal error: Uncaught exception 'RuntimeException' with message 'Directory name must not be empty.' in %s:%d 12Stack trace: 13#0 %s(%d): DirectoryIterator->__construct('') 14#1 {main} 15 thrown in %s on line %d