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 |
Résultat | array | boolean | string |