| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
SQLite3::enableExceptions(PHP 5 >= 5.3.0, PHP 7) SQLite3::enableExceptions — Enable throwing exceptions 説明
bool SQLite3::enableExceptions
([ bool
$enableExceptions = false
] )Controls whether the SQLite3 instance will throw exceptions or warnings on error. パラメータ
返り値
Returns the old value; 例例1 SQLite3::enableExceptions() example
<?php 上の例の出力は、 たとえば以下のようになります。 Warning: SQLite3::exec(): near "foo": syntax error in example.php on line 4 Caught exception: near "bar": syntax error |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「SQLite3::enableExceptions - Enable throwing exceptions」をGoogle検索
|