Re: [RFC] path_join function

From: Date: Wed, 17 May 2023 21:52:38 +0000
Subject: Re: [RFC] path_join function
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-120332@lists.php.net to get a copy of this message
On Wed, May 17, 2023 at 4:31 PM Chase Peeler <chasepeeler@gmail.com> wrote: > Definitely a useful feature, but not sure it needs to be a core function. > > I feel the same. There are countless useful utility functions which could exist in core, many of which are even widely used and commonly reinvented as userland functions, Many would also seem at least prima facie to be complementary to existing functions which are in core. But my understanding of the usual convention is that "lots of people would have a use for it" isn't enough where no significant further justification or benefit can be provided for introducing a new core function. On a wider philosophy on the future of the language, I'd be more inclined to support changes like this which went the extra mile and introduced new, complete object classes to group related core functionality and slowly deprecate the enormous stock library of the global function namespace, which feels random enough as it is. -Dave

« previous php.internals (#120332) next »