Commit 3c800ccf729 for php.net

commit 3c800ccf729aab8327494a65b4fdea68dda68983
Author: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Date:   Sat Mar 28 21:24:02 2026 +0800

    [skip ci] Fix various typos in ext/standard (GH-21559)

diff --git a/ext/standard/base64.c b/ext/standard/base64.c
index 8d4feee8497..02b8fa421be 100644
--- a/ext/standard/base64.c
+++ b/ext/standard/base64.c
@@ -536,7 +536,7 @@ zend_string *php_base64_encode_avx512_vbmi(const unsigned char *str, size_t leng
 		/* Step 2: splitting 24-bit words into 32-bit lanes */
 		str = _mm512_permutexvar_epi8(shuffle_splitting, str);

-		/* Step 3: moving 6-bit word to sperate bytes */
+		/* Step 3: moving 6-bit word to separate bytes */
 		str = _mm512_multishift_epi64_epi8(multi_shifts, str);

 		/* Step 4: conversion to ASCII */
@@ -643,7 +643,7 @@ zend_string *php_base64_encode_avx512(const unsigned char *str, size_t length, z
 		/* [D1 D2 D0 D1|C1 C2 C0 C1|B1 B2 B0 B1|A1 A2 A0 A1] x 4 */
 		str = _mm512_shuffle_epi8(str, _mm512_set4_epi32(0x0a0b090a, 0x07080607, 0x04050304, 0x01020001));

-		/* Step 3: moving 6-bit word to sperate bytes */
+		/* Step 3: moving 6-bit word to separate bytes */
 		/* in:  [bbbbcccc|ccdddddd|aaaaaabb|bbbbcccc] */
 		/* t0:  [0000cccc|cc000000|aaaaaa00|00000000] */
 		const __m512i t0 = _mm512_and_si512(str, _mm512_set1_epi32(0x0fc0fc00));
diff --git a/ext/standard/metaphone.c b/ext/standard/metaphone.c
index 149f95c127c..6b80f2e3a8e 100644
--- a/ext/standard/metaphone.c
+++ b/ext/standard/metaphone.c
@@ -107,7 +107,7 @@ static zend_always_inline char encode(char c) {
 /*----------------------------- */

 /* I suppose I could have been using a character pointer instead of
- * accesssing the array directly... */
+ * accessing the array directly... */

 #define Convert_Raw(c) toupper(c)
 /* Look at the next letter in the word */
@@ -264,7 +264,7 @@ static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonem
 	for (; (curr_letter = Read_Raw_Curr_Letter) != '\0' &&
 		 (max_phonemes == 0 || Phone_Len < (size_t)max_phonemes);
 		 w_idx++) {
-		/* How many letters to skip because an eariler encoding handled
+		/* How many letters to skip because an earlier encoding handled
 		 * multiple letters */
 		unsigned short int skip_letter = 0;

diff --git a/ext/standard/var.c b/ext/standard/var.c
index e0184d9af71..fc8b2f4f378 100644
--- a/ext/standard/var.c
+++ b/ext/standard/var.c
@@ -1242,7 +1242,7 @@ static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_
 				 && Z_OBJ_HT_P(struc)->get_properties_for == NULL
 				 && Z_OBJ_HT_P(struc)->get_properties == zend_std_get_properties
 				 && !zend_object_is_lazy(Z_OBJ_P(struc))) {
-					/* Optimized version without rebulding properties HashTable */
+					/* Optimized version without rebuilding properties HashTable */
 					zend_object *obj = Z_OBJ_P(struc);
 					zend_class_entry *ce = obj->ce;
 					zend_property_info *prop_info;