Re: Should there be a `get_declared_enums()` function ?

From: Date: Fri, 16 Aug 2024 15:01:34 +0000
Subject: Re: Should there be a `get_declared_enums()` function ?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-124978@lists.php.net to get a copy of this message
> Porting this to C is left as an excercise for the reader. ;) Hint: > > <https://github.com/php/php-src/blob/8853cf3ae950a1658054f286117bc8f77f724f00/Zend/zend_builtin_functions.c#L1371-L1399> > I went ahead and created PR https://github.com/php/php-src/pull/15443 along with tests, UPGRADE notice, etc. I think having a get_declared_enums function will be helpful. The implementation is simple and straightforward too.

« previous php.internals (#124978) next »