Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync gc and exif_imagetype #804

Merged
merged 2 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion features/gc.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 3f93d2472fd7840299461246008b64982ebba5f1 Maintainer: mowangjuanzi Status: ready -->
<!-- EN-Revision: 9957fc259b7b920269ead2a0180969db5bf13433 Maintainer: mowangjuanzi Status: ready -->
<!-- CREDITS: Luffy -->
<chapter xml:id="features.gc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>垃圾回收</title>

Expand Down Expand Up @@ -370,6 +371,7 @@ a: (refcount=2, is_ref=1)=array (
class Foo
{
public $var = '3.14159265359';
public $self;
}

$baseMemory = memory_get_usage();
Expand Down Expand Up @@ -413,6 +415,7 @@ for ( $i = 0; $i <= 100000; $i++ )
class Foo
{
public $var = '3.14159265359';
public $self;
}

for ( $i = 0; $i <= 1000000; $i++ )
Expand Down
12 changes: 11 additions & 1 deletion reference/exif/functions/exif-imagetype.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: bfadfd1c4c3ba654b1d3324d9425dd1c07fea906 Maintainer: dallas Status: ready -->
<!-- EN-Revision: f40e02ff1bd0eb238dc8e542434004de9eb03a58 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="function.exif-imagetype" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -131,6 +131,10 @@
<entry>18</entry>
<entry><constant>IMAGETYPE_WEBP</constant></entry>
</row>
<row>
<entry>19</entry>
<entry><constant>IMAGETYPE_AVIF</constant></entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down Expand Up @@ -164,6 +168,12 @@
新增 WebP 支持。
</entry>
</row>
<row>
<entry>8.1.0</entry>
<entry>
新增 AVIF 支持。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
Expand Down