Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SQLite3Stmt::paramCountSQLite3Stmt::reset>
^SQLite3StmtLast updated: Mon, 26 Oct 2026

SQLite3Stmt::readOnly

(PHP 5 >= 5.3.6, PHP 7, PHP 8)

SQLite3Stmt::readOnly — Returns whether a statement is definitely read only

Description

public function SQLite3Stmt::readOnly(): bool

Returns whether a statement is definitely read only. A statement is considered read only, if it makes no direct changes to the content of the database file. Note that user defined SQL functions might change the database indirectly as a side effect.

Parameters

This function has no parameters.

Return Values

Returns true if a statement is definitely read only, false otherwise.


<SQLite3Stmt::paramCountSQLite3Stmt::reset>
^SQLite3StmtLast updated: Mon, 26 Oct 2026