PHP » GoLang |
login |
register |
about
|
GoLang SQLite3::enableExceptions
request it (345)
GoLang replacement for PHP's SQLite3::enableExceptions
[edit | history]
SQLite3::enableExceptions(PHP 5 >= 5.3.0, PHP 7) SQLite3::enableExceptions — Enable throwing exceptions Description
bool SQLite3::enableExceptions
([ bool
$enableExceptions = FALSE
] )Controls whether the SQLite3 instance will throw exceptions or warnings on error. Parameters
Return Values
Returns the old value; ExamplesExample #1 SQLite3::enableExceptions() example
<?php The above example will output something similar to: Warning: SQLite3::exec(): near "foo": syntax error in example.php on line 4 Caught exception: near "bar": syntax error |
more
Recently updated
more
Most requested
more
Last requests
|