From 83126d8cb0f8c09201908f9ad43754e1677c0ebc Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Sat, 28 Oct 2023 10:33:42 +0800 Subject: [PATCH 1/2] Fixed deprecation warning for dynamic property creation --- features/gc.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/features/gc.xml b/features/gc.xml index 0fadca4ab2..d14502a64e 100644 --- a/features/gc.xml +++ b/features/gc.xml @@ -1,6 +1,7 @@ - + + 垃圾回收 @@ -370,6 +371,7 @@ a: (refcount=2, is_ref=1)=array ( class Foo { public $var = '3.14159265359'; + public $self; } $baseMemory = memory_get_usage(); @@ -413,6 +415,7 @@ for ( $i = 0; $i <= 100000; $i++ ) class Foo { public $var = '3.14159265359'; + public $self; } for ( $i = 0; $i <= 1000000; $i++ ) From f3acdc9601580850ef6a3f9f7321395120f44695 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Sat, 28 Oct 2023 10:35:51 +0800 Subject: [PATCH 2/2] Add IMAGETYPE_AVIF constant --- reference/exif/functions/exif-imagetype.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/reference/exif/functions/exif-imagetype.xml b/reference/exif/functions/exif-imagetype.xml index d81ed694da..35b40970f5 100644 --- a/reference/exif/functions/exif-imagetype.xml +++ b/reference/exif/functions/exif-imagetype.xml @@ -1,6 +1,6 @@ - + @@ -131,6 +131,10 @@ 18 IMAGETYPE_WEBP + + 19 + IMAGETYPE_AVIF + @@ -164,6 +168,12 @@ 新增 WebP 支持。 + + 8.1.0 + + 新增 AVIF 支持。 + +