Pdo\Sqlite::loadExtension と Pdo\Sqlite::openBlob の新規翻訳#375
Open
lacatoire wants to merge 1 commit into
Open
Conversation
php/doc-en の現状はスタブ (`Description.` のみ、`&warn.undocumented.func;` 付き) のため、 SQLite3::loadExtension / SQLite3::openBlob の既訳と php-src の挙動を参考に、 Pdo\Sqlite 向けに最小限の説明を新規翻訳しました。 - reference/pdo_sqlite/pdo/sqlite/loadextension.xml — Pdo\Sqlite::loadExtension - 戻り値は `void`、失敗時は `PDOException` がスローされます (php-src ext/pdo_sqlite/pdo_sqlite.c) - reference/pdo_sqlite/pdo/sqlite/openblob.xml — Pdo\Sqlite::openBlob - SQLite3::openBlob と同等。失敗時は `E_WARNING` が発生し `false` を返します EN-Revision はスタブを追加した php/doc-en@2527c5e3 を参照しています。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHP 8.4 で
Pdo\Sqliteクラスに追加された 2 つのメソッドの新規翻訳です。reference/pdo_sqlite/pdo/sqlite/loadextension.xmlreference/pdo_sqlite/pdo/sqlite/openblob.xmldoc-en の現状はスタブ (php/doc-en@2527c5e3、
Description.のみ +&warn.undocumented.func;) のため、SQLite3::loadExtension/SQLite3::openBlobの既訳と php-src (ext/pdo_sqlite/pdo_sqlite.c、pdo_sqlite.stub.php) の挙動を参考に、最小限の説明で翻訳しました。loadExtensionは戻り値がvoidで、失敗時はPDOExceptionがスローされます。openBlobはほぼSQLite3::openBlobと同等で、失敗時にE_WARNINGが発生しfalseを返します。ご確認のほど、よろしくお願いいたします。