On Tue, 11 Apr 2023 at 18:12, Hans Krentel via internals <internals@lists.php.net> wrote: > > So I'd love to see some commentary on a `function_alias()` > if now function autoloading is considered to come in
I wouldn't be opposed to it, but it should be a separate RFC. The implementation could be copied from https://www.php.net/manual/en/function.runkit7-function-copy and probably wouldn't be that complicated, or conflict with this RFC. > It was the latter which brought us `class_alias()` [0] > and I've used it often in code migrations Yes, in particular the changing from Twig_Template_Loader to Twig\Template\Loader migration. I'll add it to my list at https://phpopendocs.com/rfc_codex It would seem a good "my first RFC" for someone. Though, function migration could also be solved in a far more powerful way. Check my forthcoming reply to Rowan... cheers Dan Ack -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php