[php-src] PR #19009: uri: Do not create new `UrlValidationErrorType` objects
| From: | TimWolla | Date: | Wed, 02 Jul 2025 11:23:09 +0000 |
| Subject: | [php-src] PR #19009: uri: Do not create new `UrlValidationErrorType` objects | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32285@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19009
Author: TimWolla
zend_enum_new() is not intended to be used “at runtime”, since it will create a new
object, breaking the singleton property. Instead zend_enum_get_case_cstr() must be
used.