Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path::isLocal for stream wrappers like phar:// #9

Open
King2500 opened this issue May 29, 2015 · 0 comments
Open

Path::isLocal for stream wrappers like phar:// #9

King2500 opened this issue May 29, 2015 · 0 comments

Comments

@King2500
Copy link
Contributor

Theoretical question:

I think ...

Path::isLocal('phar://C:/Documents/projects/my-project.phar/composer.json');

... returns false.

Does that make sense?

The basic question here is:
How is "local" defined? Are stream wrappers to local files considered local or not?

@webmozart what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant