Commit 73c4690c0e2 for php.net
commit 73c4690c0e29b6d7b8e1f0c7ca8c8d84e583f88c
Author: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Date: Sun Mar 29 22:40:48 2026 +0800
[skip ci] Fix various typos in ext/zip (GH-21571)
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 77d5dacbff9..805527b7d84 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -151,7 +151,7 @@ static bool php_zip_extract_file(struct zip * za, char *dest, const char *file,
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;
- /* Clean/normlize the path and then transform any path (absolute or relative)
+ /* Clean/normalize the path and then transform any path (absolute or relative)
to a path relative to cwd (../../mydir/foo.txt > mydir/foo.txt)
*/
virtual_file_ex(&new_state, file, NULL, CWD_EXPAND);
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 0b96d6ec3ea..486d117398c 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -36,7 +36,7 @@ extern zend_module_entry zip_module_entry;
#define ZIP_LENGTH_TO_END 0
#endif
-/* Additionnal flags not from libzip */
+/* Additional flags not from libzip */
#define ZIP_FL_OPEN_FILE_NOW (1u<<30)
#define PHP_ZIP_VERSION "1.22.8"
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index 42dfb006fc6..19ea67e07fb 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -152,7 +152,7 @@ class ZipArchive implements Countable
public const int FL_ENC_CP437 = UNKNOWN;
/**
- * Additionnal flags not from libzip
+ * Additional flags not from libzip
* @cvalue ZIP_FL_OPEN_FILE_NOW
*/
public const int FL_OPEN_FILE_NOW = UNKNOWN;
diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h
index 89dd33b6f1a..ae2569400ef 100644
Binary files a/ext/zip/php_zip_arginfo.h and b/ext/zip/php_zip_arginfo.h differ