>
> If not, I don't see why we ever need to be able to autoload global
> functions. "You want autoloading? Put it in a namespace." Like I say, that
> leaves the very small edge case of a single namespace spanning multiple
> files, and an autoloader implementation able to include one of them when a
> function is called from another.


I'm not sure why you would think a single namespace spanning multiple files
is a "very small edge case". I disagree. Here are some libraries I am aware
of *off the top of my head* that use functions the same namespace across
multiple files:

   - https://github.com/nikic/iter
   - https://github.com/lstrojny/functional-php

As well as several of my personal projects. I do not think this is a "very
small edge case."

Reply via email to