# [Concept] Flip relative function lookup order (global, then local)

- Thread: https://externals.io/message/125202
- Original archive: https://news-web.php.net/php.internals/125202
- Started by Stephen Reay on 2024-08-25T05:27:41+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

---

## #125202 — Stephen Reay — 2024-08-25T05:27:41+00:00

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

> 
> 
> this is only a problem for option 1.

Fair point. 

> the short/medium term impact is so big

Given the scope of it, I think realistically *any* change suggested here should aim to target 9.0 for the deprecation (and 10 for the change) to give userland a full major release cycle (recent history shows this is ~5 years). 

As I said earlier, after a couple of decades of exposure to client projects, I'm not convinced that the top 1000 or even 10000 composer packages is necessarily representative of the majority of userland code in the world. 


Cheers

Stephen
