From f6dd7ba7d1ab71b81b839d98d7646b6544cd1151 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Sat, 22 Mar 2025 22:13:47 +0800 Subject: [PATCH] Sync outdated files --- reference/iconv/functions/iconv-strlen.xml | 4 +-- reference/info/functions/getrusage.xml | 26 +------------------ reference/inotify/setup.xml | 11 +------- reference/math/book.xml | 4 +-- reference/mbstring/book.xml | 4 +-- .../functions/mb-convert-encoding.xml | 4 +-- reference/openssl/setup.xml | 5 ++-- .../functions/password-needs-rehash.xml | 7 +++-- .../password/functions/password-verify.xml | 5 ++-- reference/pcntl/examples.xml | 5 ++-- reference/pcre/book.xml | 6 ++--- .../pcre/functions/preg-replace-callback.xml | 6 ++--- reference/pcre/pattern.syntax.xml | 6 ++--- 13 files changed, 30 insertions(+), 63 deletions(-) diff --git a/reference/iconv/functions/iconv-strlen.xml b/reference/iconv/functions/iconv-strlen.xml index c4237d4d6..95a7a45aa 100644 --- a/reference/iconv/functions/iconv-strlen.xml +++ b/reference/iconv/functions/iconv-strlen.xml @@ -1,7 +1,7 @@ - - + + iconv_strlen diff --git a/reference/info/functions/getrusage.xml b/reference/info/functions/getrusage.xml index b33680c6e..b7bb45b5c 100644 --- a/reference/info/functions/getrusage.xml +++ b/reference/info/functions/getrusage.xml @@ -1,6 +1,6 @@ - + @@ -43,30 +43,6 @@ - - &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 7.0.0 - - 此函数现在开始支持 Windows。 - - - - - - - - &reftitle.examples; diff --git a/reference/inotify/setup.xml b/reference/inotify/setup.xml index 9f1edf86c..1d30ca09f 100644 --- a/reference/inotify/setup.xml +++ b/reference/inotify/setup.xml @@ -1,19 +1,10 @@ - + &reftitle.setup; - -
- &reftitle.required; - - 此扩展需要 Linux 2.6.13 或更新的版本,以及最新的 libC 库。 - -
- -
&reftitle.setup; diff --git a/reference/math/book.xml b/reference/math/book.xml index 21657d1c5..a51f2f120 100644 --- a/reference/math/book.xml +++ b/reference/math/book.xml @@ -1,6 +1,6 @@ - + @@ -35,10 +35,10 @@ &reference.math.constants; + &reference.math.roundingmode; &reference.math.reference; - - + - + 多字节字符串 diff --git a/reference/mbstring/functions/mb-convert-encoding.xml b/reference/mbstring/functions/mb-convert-encoding.xml index dc078111b..3d731710a 100644 --- a/reference/mbstring/functions/mb-convert-encoding.xml +++ b/reference/mbstring/functions/mb-convert-encoding.xml @@ -1,6 +1,6 @@ - + @@ -134,7 +134,7 @@ <function>mb_convert_encoding</function> 示例 - + - + &reftitle.setup; @@ -11,7 +11,8 @@ 要使用 Open SSL 函数,你必须安装OpenSSL 库。 PHP 7.0 需要 OpenSSL >= 0.9.8。PHP 7.1-8.0 需要 OpenSSL - >= 1.0.1,< 3.0。PHP >= 8.1 支持 OpenSSL >= 1.0.2,< 4.0。 + >= 1.0.1,< 3.0。PHP >= 8.1 支持 OpenSSL >= 1.0.2, < 4.0。 + PHP >= 8.4 支持 OpenSSL >= 1.1.1, < 4.0。 diff --git a/reference/password/functions/password-needs-rehash.xml b/reference/password/functions/password-needs-rehash.xml index 2cacc3c5e..c00a74fa2 100644 --- a/reference/password/functions/password-needs-rehash.xml +++ b/reference/password/functions/password-needs-rehash.xml @@ -1,8 +1,7 @@ - + - password_needs_rehash @@ -97,11 +96,11 @@ 12]; +$options = ['cost' => 13]; // 根据明文密码验证储存的散列 if (password_verify($password, $hash)) { diff --git a/reference/password/functions/password-verify.xml b/reference/password/functions/password-verify.xml index 4d9adc9e3..0755b6002 100644 --- a/reference/password/functions/password-verify.xml +++ b/reference/password/functions/password-verify.xml @@ -1,6 +1,6 @@ - + @@ -70,7 +70,7 @@ password_needs_rehash password_hash - 用户级实现 sodium_crypto_pwhash_str_verify diff --git a/reference/pcntl/examples.xml b/reference/pcntl/examples.xml index 6d92342dc..87116f9e8 100644 --- a/reference/pcntl/examples.xml +++ b/reference/pcntl/examples.xml @@ -1,6 +1,7 @@ - + + &reftitle.examples;
@@ -13,7 +14,7 @@ - - - + + + 正则表达式(兼容 Perl) PCRE diff --git a/reference/pcre/functions/preg-replace-callback.xml b/reference/pcre/functions/preg-replace-callback.xml index f66f7ebe9..565d2c229 100644 --- a/reference/pcre/functions/preg-replace-callback.xml +++ b/reference/pcre/functions/preg-replace-callback.xml @@ -1,7 +1,7 @@ - - + + preg_replace_callback @@ -64,7 +64,7 @@ <function>preg_replace_callback</function> 和 匿名函数 - + - - + + 模式语法 @@ -764,7 +764,7 @@ So Other symbol - + Includes emojis Z