diff --git a/language-snippets.ent b/language-snippets.ent index a58988f7e..ea0ac3715 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,6 +1,6 @@ - + @@ -2970,18 +2970,76 @@ xmlns="http://docbook.org/ns/docbook"> + PECL mongodb 2.0.0 + + 此类已被移除。 + + +'> + + + PECL mongodb 2.0.0 + + 此函数已被移除。 + + +'> + + + PECL mongodb 2.0.0 + + 此方法已被移除。 + + +'> + + + PECL mongodb 2.0.0 + + + 此类不再实现 Serializable 接口。 + + + +'> + PECL mongodb 1.15.0 - Return types for methods are declared as tentative on PHP 8.0 and newer, - triggering deprecation notices in code that implements this interface - without declaring the appropriate return types. The #[ReturnTypeWillChange] - attribute can be added to silence the deprecation notice. + 在 PHP 8.0 及更高版本中,方法的返回类型被声明为暂定(tentative), + 这会导致在实现该接口但未声明相应返回类型的代码中触发弃用提示。 + 可以添加 #[ReturnTypeWillChange] 属性来消除该弃用提示。 '> + + PECL mongodb 2.0.0 + + 之前声明为暂定的返回类型现在已被强制执行。 + + +'> + + + PECL mongodb 2.0.0 + + + 当针对未确认写入调用此方法时,现在会抛出异常,而不是返回 &null;。 + + + +'> + + collation @@ -3594,6 +3652,7 @@ local: { Throws MongoDB\Driver\Exception\AuthenticationException if authentication is needed and fails.'> Throws MongoDB\Driver\Exception\ConnectionException if connection to the server fails (for reasons other than authentication).'> Throws MongoDB\Driver\Exception\UnexpectedValueException if the input did not contain exactly one BSON document. Possible reasons include, but are not limited to, invalid BSON, extra data (after reading one BSON document), or an unexpected libbson error.'> +Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged.'> @@ -3948,51 +4007,56 @@ local: { - - - 标志 - - - - 标志 - &Description; - - - - - - - - 在指定字段宽度时左对齐,默认右对齐 - - - - + - - 正数的加号 +前缀,默认负数的前缀是负号。 - - - - (space) - - 空格填充结果。这是默认设置。 - - - - 0 - - 仅用 0 进行左侧数字填充。使用 s 标志符可以右侧填充。 - - - - '(char) - - 用字符(char)填充结果。 - - - - -
-
+ + 标志 + + + + + + 标志 + &Description; + + + + + - + + 在给定字段宽度内左对齐;右对齐是默认值 + + + + + + + 在给定字段宽度内为正数添加加号前缀 + +;默认情况下,只有负数才会添加负号前缀。 + + + + (space) + + 用空格填充结果。 + 这是默认值。 + + + + 0 + + 仅对数字进行左侧零填充。 + 对于 s 说明符,也可以右侧用零填充。 + + + + '(char) + + 用字符(char)填充结果。 + + + + + + + Width