Re: Function getdir() accidentally exists

From: Date: Sun, 11 Apr 2021 18:21:43 +0000
Subject: Re: Function getdir() accidentally exists
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-114023@lists.php.net to get a copy of this message
On 07/04/2021 00:15, Sara Golemon wrote:
With my 8.0 RM hat on, I say we do that.  Call this a bug that the *undocumented* function existed in 8.0.0 through 8.0.3 and remove it.  The window of code that will break will be vanishingly small, and if it does impact anyone, the fix is to call dir() instead. Sorted.
Since nobody objected, but nobody seemed to have got round to it yet, I've raised a PR to remove getdir() and rename the internal implementation to dir() once and for all: https://github.com/php/php-src/pull/6855 Regards, -- Rowan Tommins [IMSoP]

Thread (3 messages)

« previous php.internals (#114023) next »