{"action":"opened","issue":{"url":"https://api.github.com/repos/webmozart/path-util/issues/9","labels_url":"https://api.github.com/repos/webmozart/path-util/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/webmozart/path-util/issues/9/comments","events_url":"https://api.github.com/repos/webmozart/path-util/issues/9/events","html_url":"https://github.com/webmozart/path-util/issues/9","id":82484847,"number":9,"title":"Path::isLocal for stream wrappers like phar://","user":{"login":"King2500","id":4896363,"avatar_url":"https://avatars.githubusercontent.com/u/4896363?v=3","gravatar_id":"","url":"https://api.github.com/users/King2500","html_url":"https://github.com/King2500","followers_url":"https://api.github.com/users/King2500/followers","following_url":"https://api.github.com/users/King2500/following{/other_user}","gists_url":"https://api.github.com/users/King2500/gists{/gist_id}","starred_url":"https://api.github.com/users/King2500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/King2500/subscriptions","organizations_url":"https://api.github.com/users/King2500/orgs","repos_url":"https://api.github.com/users/King2500/repos","events_url":"https://api.github.com/users/King2500/events{/privacy}","received_events_url":"https://api.github.com/users/King2500/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T16:00:08Z","updated_at":"2015-05-29T16:00:08Z","closed_at":null,"body":"Theoretical question:\r\n\r\nI think ...\r\n```php\r\nPath::isLocal('phar://C:/Documents/projects/my-project.phar/composer.json');\r\n```\r\n... returns `false`.\r\n\r\nDoes that make sense?\r\n\r\nThe basic question here is:\r\nHow is \"local\" defined? Are stream wrappers to local files considered local or not?\r\n\r\n@webmozart what do you think?"}}