SQLite3::loadExtension
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SQLite3::loadExtension — Tenta carregar uma biblioteca de extensão do SQLite
Parâmetros
name
-
O nome da biblioteca a ser carregada. A biblioteca deve estar localizada no
diretório especificado na opção de configuração sqlite3.extension_dir.
Valor Retornado
Retorna true
se a extensão for carregada com sucesso, false
em caso de falha.
Exemplos
Exemplo #1 Exemplo de SQLite3::loadExtension()
<?php
$db = new SQLite3('mysqlitedb.db');
$db->loadExtension('libagg.so');
?>