PEAR_Registry::checkFileMap() – Test whether a file belongs to a package


require_once 'PEAR/Registry.php';

string PEAR_Registry::checkFileMap ( string $path )


Test whether a file belongs to a package.


string $path

file path, absolute or relative to the pear install dir

Return value

string - name of the package the file belongs to, or an empty string if the file does not belong to an installed package


Possible PEAR_Error values
Error code Error value Meaning Solution


This function can not be called statically.

Registers a package to the registry (Previous) Remove Package from registry (Next)
Last updated: Fri, 27 Nov 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.