# [PATCH] php_resolve_path correctness update (broken in CVS as well)

- Thread: https://externals.io/message/36056
- Original archive: https://news-web.php.net/php.internals/36056
- Started by Gregory Beaver on 2008-03-08T06:14:21+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #36056 — Gregory Beaver — 2008-03-08T06:14:21+00:00

URL: https://externals.io/message/36056#36056

Hi,

php_resolve_path does not exit if passed a stream wrapper, but instead
tries to find it in include_path.  This can cause really weird error
messages and breaks pecl/phar completely (and probably other stream
wrappers), so I added stream wrapper detection to the exit shunt in the
start of php_resolve_path.

The patch is otherwise the same as yesterday's.

Greg
