From 2a93dad04b860e845e092ba532caa49d035a4ec2 Mon Sep 17 00:00:00 2001 From: mowangjuanzi Date: Mon, 11 Dec 2023 10:10:18 +0800 Subject: [PATCH] Update pgsql and zip --- reference/pgsql/constants.xml | 59 ++++++++++++++++++++++++++++++++++- reference/zip/ziparchive.xml | 56 ++++++++++++++++++++++++++++++++- 2 files changed, 113 insertions(+), 2 deletions(-) diff --git a/reference/pgsql/constants.xml b/reference/pgsql/constants.xml index 56dd97954..bee615e48 100755 --- a/reference/pgsql/constants.xml +++ b/reference/pgsql/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; @@ -812,6 +812,63 @@ + + + PGSQL_SHOW_CONTEXT_NEVER + (int) + + + + 跟 pg_set_error_context_set_visibility 一起使用,上下文永远不会显示。自 PHP 8.3.0 起可用。 + + + + + + PGSQL_SHOW_CONTEXT_ERRORS + (int) + + + + 跟 pg_set_error_context_set_visibility + 一起使用,上下文字段仅包含在错误消息中。这是默认行为。自 PHP 8.3.0 起可用。 + + + + + + PGSQL_SHOW_CONTEXT_ALWAYS + (int) + + + + 跟 pg_set_error_context_set_visibility + 一起使用,,上下文字段包含在 error、notice 和 warning 消息中。自 PHP 8.3.0 起可用。 + + + + + + PGSQL_TRACE_SUPPRESS_TIMESTAMPS + (int) + + + + 跟 pg_trace 一起使用,时间戳不包含在跟踪消息中。自 PHP 8.3.0 起可用。 + + + + + + PGSQL_TRACE_REGRESS_MODE + (int) + + + + 跟 pg_trace 一起使用,比如 OID 等字段包含在跟踪消息中。自 PHP 8.3.0 起可用。 + + + diff --git a/reference/zip/ziparchive.xml b/reference/zip/ziparchive.xml index 5d27a289a..1bf87251e 100644 --- a/reference/zip/ziparchive.xml +++ b/reference/zip/ziparchive.xml @@ -1,6 +1,6 @@ - + <classname>ZipArchive</classname> 类 @@ -146,6 +146,12 @@ int ZipArchive::FL_ENC_CP437 + + public + const + int + ZipArchive::FL_OPEN_FILE_NOW + public const @@ -464,6 +470,42 @@ int ZipArchive::ER_CANCELLED + + public + const + int + ZipArchive::ER_DATA_LENGTH + + + public + const + int + ZipArchive::ER_NOT_ALLOWED + + + public + const + int + ZipArchive::AFL_RDONLY + + + public + const + int + ZipArchive::AFL_IS_TORRENTZIP + + + public + const + int + ZipArchive::AFL_WANT_TORRENTZIP + + + public + const + int + ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE + public const @@ -632,6 +674,18 @@ string ZipArchive::LIBZIP_VERSION + + public + const + int + ZipArchive::LENGTH_TO_END + + + public + const + int + ZipArchive::LENGTH_UNCHECKED + &Properties;