PHP Class Go\Instrument\PathResolver

See also: http://stackoverflow.com/questions/4049856/replace-phps-realpath/4050444
See also: http://bugs.php.net/bug.php?id=52769
Datei anzeigen Open project: goaop/framework Class Usage Examples

Public Methods

Method Description
realpath ( string | array $somePath, boolean $shouldCheckExistence = false ) : array | boolean | string Custom replacement for realpath() and stream_resolve_include_path()

Method Details

realpath() public static method

Custom replacement for realpath() and stream_resolve_include_path()
public static realpath ( string | array $somePath, boolean $shouldCheckExistence = false ) : array | boolean | string
$somePath string | array Path without normalization or array of paths
$shouldCheckExistence boolean Flag for checking existence of resolved filename
return array | boolean | string