Is there a way to get an array (or something similar) of the DirectoryIndex in PHP being run under Apache? For example, I would like to be able check if one of the DirectoryIndex files exist in a specific directory. This is related to How can I get the DirectoryIndex filename for a given URI using PHP? but it doesn't quite ask the same thing so please don't point to it despite its similarity.
EDIT: I'd prefer not to have to go file parsing.