[php-src] PR #22243: Implement function autoloading
| From: | pmjones | Date: | Sat, 06 Jun 2026 16:06:35 +0000 |
| Subject: | [php-src] PR #22243: Implement function autoloading | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36323@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22243
Author: pmjones
This PR implements function autoloading (a counterpart to class autoloading). I have tried to make
it as similar to class autoloading as possible.
One note: unlike class_exists(), the updated function_exists() **does not** invoke function
autoloading by default; this is in deference to the ecosystem of polyfill packages that do not
expect to trigger an autoloader. I am happy to change the default as needed.