« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for enableExtendedResultCodes (0.002 sec.)
SQLite3::enableExtendedResultCodes — 拡張結果コードの使用を有効または無効にする... 13104
SQLite3::enableExtendedResultCodes (PHP 7 >= 7.4.0, PHP 8) SQLite3::enableExtendedResultCodes — 拡張結果コードの使用を有効または無効にする 説明 public function SQLite3::enableExtendedResultCodes ( bool $enable = true ): bool 拡張結果コードの ... する ( true ) か、無効にする ( false ) か。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SQLite3::enableExtendedResultCodes() の例 <?php $db = new SQLite3 ( ':memory:' ); $db -> enableExceptions ( true ); $db -> exec ( 'CREATE TABLE t (a INTEGER ... -> lastExtendedErrorCode ()); // 有効にすると、SQLite3::lastErrorCode() も // 拡張結果コードを返すようになります。 $db -> enableExtendedResultCodes (); var_dump ( $db -> lastErrorCode ()); ?> 上の例の出力は以下となります。 int(19) int(2067) int(2067) 参考 SQLite3::lastE ...
https://man.mtool.work/php/8.3/sqlite3.enableextendedresultcodes.html
SQLite3::lastExtendedErrorCode — 直近で失敗した SQLite リクエストの拡張結果コー... 9942
SQLite3::lastExtendedErrorCode (PHP 7 >= 7.4.0, PHP 8) SQLite3::lastExtendedErrorCode — 直近で失敗した SQLite リクエストの拡張結果コードを数値で返す 説明 public function SQLite3::lastExtendedErrorCode (): int 直近で失敗した SQLite リクエスト ... の拡張結果コードを数値で返します。 SQLite3::lastErrorCode() とは異なり、このメソッドは SQLite3::enableExtendedResultCodes() で拡張結果コードを有効にしているかどうかにかかわらず、常に拡張結果コードを返します。 パラメータ この関数にはパラメータは ... ありません。 戻り値 直近で失敗した SQLite リクエストの拡張結果コードを表す整数値を返します。 参考 SQLite3::enableExtendedResultCodes() - 拡張結果コードの使用を有効または無効にする SQLite3::lastErrorCode() - 直近で失敗した SQLite リクエストの結果コードを数 ...
https://man.mtool.work/php/8.3/sqlite3.lastextendederrorcode.html
SQLite3 クラス | PHP 8.3 8651
SQLite3 クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに SQLite 3 データベースとのインターフェイスとなるクラスです。 クラス概要 class SQLite3 { /* 定数 */ public const int OK ; public const int DENY ; public const int IGNORE ; public const in ... nt $argCount = -1 , int $flags = 0 ): bool public function enableExceptions ( bool $enable = false ): bool public function enableExtendedResultCodes ( bool $enable = true ): bool public static function escapeString ( string $string ): string public function exec ( string ... nction — SQL のスカラー関数として使用する PHP 関数を登録する SQLite3::enableExceptions — 例外のスローを有効にする SQLite3::enableExtendedResultCodes — 拡張結果コードの使用を有効または無効にする SQLite3::escapeString — 適切にエスケープされた文字列を返す SQLite3::exec — 指 ...
https://man.mtool.work/php/8.3/class.sqlite3.html
SQLite3::lastErrorCode — 直近で失敗した SQLite リクエストの結果コードを数値で返... 8651
SQLite3::lastErrorCode (PHP 5 >= 5.3.0, PHP 7, PHP 8) SQLite3::lastErrorCode — 直近で失敗した SQLite リクエストの結果コードを数値で返す 説明 public function SQLite3::lastErrorCode (): int 直近で失敗した SQLite リクエストの結果コードを数値で ... 値で返します。 参考 SQLite3::lastExtendedErrorCode() - 直近で失敗した SQLite リクエストの拡張結果コードを数値で返す SQLite3::enableExtendedResultCodes() - 拡張結果コードの使用を有効または無効にする SQLite3::lastErrorMsg() - 直近で失敗した SQLite リクエストについての英文テキ ...
https://man.mtool.work/php/8.3/sqlite3.lasterrorcode.html
SQLite3 | PHP 8.3 8070
SQLite3 はじめに SQLite バージョン 3 のデータベースをサポートします。 インストール/設定 要件 インストール手順 実行時設定 定義済み定数 SQLite3 — SQLite3 クラス SQLite3::backup — あるデータベースを、別のデータベースにバックアップする SQLite3: ... nction — SQL のスカラー関数として使用する PHP 関数を登録する SQLite3::enableExceptions — 例外のスローを有効にする SQLite3::enableExtendedResultCodes — 拡張結果コードの使用を有効または無効にする SQLite3::escapeString — 適切にエスケープされた文字列を返す SQLite3::exec — 指 ...
https://man.mtool.work/php/8.3/book.sqlite3.html
新機能 | PHP 8.3 7724
新機能 PHP コア 型付きプロパティ クラスのプロパティは、新たに型宣言をサポートするようになりました <?php class User { public int $id ; public string $name ; } ?> 上の例は、 $user->id には int の 値だけを、そして $user->name には string の値だ ... うになりました。 SQLite3 最新の拡張結果コードを取得するために、 SQLite3::lastExtendedErrorCode() が追加されました。 SQLite3::enableExtendedResultCodes($enable = true) が追加されました。これによって、 SQLite3::lastErrorCode() が拡張結果コードを返すようになります。 標準ライブ ...
https://man.mtool.work/php/8.3/migration74.new-features.html
サンプル | PHP 8.3 7379
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... ion の例 Example#2212 - SQLite3::createFunction の例 Example#2213 - SQLite3::enableExceptions の例 Example#2214 - SQLite3::enableExtendedResultCodes の例 Example#2215 - SQLite3::exec の例 Example#2216 - SQLite3::loadExtension の例 Example#2217 - SQLite3::open の例 Exampl ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT