[php-src] master: Zend: use type uint32_t for refcount CE field

From: Date: Tue, 21 Oct 2025 21:48:42 +0000
Subject: [php-src] master: Zend: use type uint32_t for refcount CE field
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
Author: Gina Peter Banyard (Girgias)
Date: 2025-10-21T22:42:00+01:00

Commit: https://github.com/php/php-src/commit/51a4e06b08bd0242e50468efe178b323834e99eb
Raw diff: https://github.com/php/php-src/commit/51a4e06b08bd0242e50468efe178b323834e99eb.diff

Zend: use type uint32_t for refcount CE field

Changed paths:
  M  Zend/zend.h


Diff:

diff --git a/Zend/zend.h b/Zend/zend.h
index 163b48015d9b..2155be43c12b 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -152,7 +152,7 @@ struct _zend_class_entry {
 		zend_class_entry *parent;
 		zend_string *parent_name;
 	};
-	int refcount;
+	uint32_t refcount;
 	uint32_t ce_flags;
 	uint32_t ce_flags2;
 


Thread (1 message)

  • Gina Peter Banyard
« previous php.cvs (#136510) next »