php-src/Zend/tests/attributes/deprecated
DanielEScherzer cd751f98cb
Reapply GH-17712 with a fix for internal class constants (#18464)
Add recursion protection when emitting deprecation warnings for class
constants, since the deprecation message can come from an attribute that is
using the same constant for the message, or otherwise result in recursion.

But, internal constants are persisted, and thus cannot have recursion
protection. Otherwise, if a user error handler triggers bailout before the
recursion flag is removed then a subsequent request (e.g. with `--repeat 2`)
would start with that flag already applied. Internal constants can presumably
be trusted not to use deprecation messages that come from recursive attributes.

Fixes GH-18463
Fixes GH-17711
2025-05-25 16:43:36 -07:00
..
class_constants Reapply GH-17712 with a fix for internal class constants (#18464) 2025-05-25 16:43:36 -07:00
functions Fix GH-17866: zend_mm_heap corrupted error after upgrading from 8.4.3 to 8.4.4 2025-02-24 21:39:55 +01:00
message_001.phpt
message_002.phpt
message_003.phpt
message_004.phpt
property_readonly_001.phpt
property_readonly_002.phpt
property_readonly_003.phpt
type_validation_001.phpt
type_validation_002.phpt
type_validation_003.phpt
type_validation_004.phpt