Re: [PHP-DEV] Function getdir() accidentally exists

2021-04-11 Thread Rowan Tommins
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()

Re: [PHP-DEV] Function getdir() accidentally exists

2021-04-06 Thread Sara Golemon
On Tue, Apr 6, 2021 at 5:04 PM Rowan Tommins wrote: > Because the PHP function didn't match the C function name, > this got translated to a function *alias* in PHP 4 [1]: > Curious, since PHP_NAMED_FE *did* exist in this revision that Ze'ev didn't choose to use that macro. Mid 1999 though, so I i