facebook/hhvm — pull request #3001 by SiebelsTim (2014-06-20 21:37:27+00:00)
Title: DirectoryIterator throws RuntimeException on empty string

Fixes zend/bad/ext/spl/tests/DirectoryIterator_empty_constructor.php but I can't move it because of the different representation of uncaught exceptions

The included test is a duplicate of the one above, but with a try-catch block