Home
last modified time | relevance | path

Searched refs:SQLite3 (Results 1 – 25 of 92) sorted by relevance

1234

/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_setauthorizer_no_leak.phpt2 SQLite3::setAuthorizer use F ZPP for trampoline callback and does not leak
11 if ($arguments[0] == SQLite3::SELECT) {
12 return SQLite3::OK;
15 return SQLite3::DENY;
21 $db = new SQLite3(':memory:');
24 echo "Invalid SQLite3 object:\n";
25 $rc = new ReflectionClass(SQLite3::class);
39 Invalid SQLite3 object:
40 Error: The SQLite3 object has not been correctly initialised or is already closed
H A Dsqlite3_21_security.phpt2 SQLite3 open_basedir checks
15 $db = new SQLite3($directory . $file);
22 $db = new SQLite3('../bad' . $file);
31 object(SQLite3)#%d (0) {
36 Warning: SQLite3::__construct(): open_basedir restriction in effect. File(%s) is not within the all…
39 #0 %ssqlite3_21_security.php(%d): SQLite3->__construct('%s')
H A Dsqlite3_trampoline_createcollation_no_leak.phpt2 SQLite3::createFunction use F ZPP for trampoline callback and does not leak
32 echo "Invalid SQLite3 object:\n";
33 $rc = new ReflectionClass(SQLite3::class);
47 TypeError: SQLite3::createCollation(): Argument #1 ($name) must be of type string, stdClass given
48 ArgumentCountError: SQLite3::createCollation() expects exactly 2 arguments, 3 given
49 Invalid SQLite3 object:
50 Error: The SQLite3 object has not been correctly initialised or is already closed
H A Dsqlite3_trampoline_createfunction_no_leak.phpt2 SQLite3::createFunction use F ZPP for trampoline callback and does not leak
33 echo "Invalid SQLite3 object:\n";
34 $rc = new ReflectionClass(SQLite3::class);
48 TypeError: SQLite3::createFunction(): Argument #1 ($name) must be of type string, stdClass given
49 TypeError: SQLite3::createFunction(): Argument #3 ($argCount) must be of type int, stdClass given
50 Invalid SQLite3 object:
51 Error: The SQLite3 object has not been correctly initialised or is already closed
H A Dsqlite3_trampoline_setauthorizer.phpt2 SQLite3 user authorizer trampoline callback
11 if ($arguments[0] == SQLite3::SELECT) {
12 return SQLite3::OK;
15 return SQLite3::DENY;
21 $db = new SQLite3(':memory:');
H A Dsqlite3_enable_exceptions.phpt2 SQLite3::enableExceptions test
11 $db = new SQLite3(':memory:');
28 Deprecated: SQLite3::enableExceptions(): Use of warnings for SQLite3 is deprecated in %s
31 Warning: SQLite3::query(): no such table: non_existent_table in %s on line %d
H A Dsqlite3_34_load_extension_ext_dir.phpt2 SQLite3::loadExtension with disabled extensions
10 if (!method_exists('SQLite3', 'loadExtension')) {
17 $db = new SQLite3(':memory:');
27 Warning: SQLite3::loadExtension(): SQLite Extensions are disabled in %s on line %d
H A Dsqlite3_33_load_extension_param.phpt2 SQLite3::loadExtension with empty extension test
12 if (!method_exists('SQLite3', 'loadExtension')) {
19 $db = new SQLite3(':memory:');
29 string(63) "SQLite3::loadExtension(): Argument #1 ($name) must not be empty"
H A Dsqlite3_trampoline_create_aggregate_no_leak.phpt2 SQLite3::createAggregate() use F ZPP for trampoline callback and does not leak
58 echo "Invalid SQLite3 object:\n";
59 $rc = new ReflectionClass(SQLite3::class);
76 TypeError: SQLite3::createAggregate(): Argument #1 ($name) must be of type string, stdClass given
77 TypeError: SQLite3::createAggregate(): Argument #4 ($argCount) must be of type int, stdClass given
78 TypeError: SQLite3::createAggregate(): Argument #3 ($finalCallback) must be a valid callback, funct…
79 TypeError: SQLite3::createAggregate(): Argument #2 ($stepCallback) must be a valid callback, functi…
80 TypeError: SQLite3::createAggregate(): Argument #4 ($argCount) must be of type int, string given
81 Invalid SQLite3 object:
82 Error: The SQLite3 object has not been correctly initialised or is already closed
H A Dsqlite3_31_changes.phpt2 SQLite3::changes (parameters) tests
10 $db = new SQLite3(':memory:');
16 object(SQLite3)#1 (0) {
H A Dbug72571.phpt2 Bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)
7 $db = new SQLite3(':memory:');
H A Dsqlite3_01_open-mb.phpt2 SQLite3::open/close tests
9 $db = new SQLite3($db_file);
19 object(SQLite3)#%d (0) {
H A Dsqlite3_02_open.phpt2 SQLite3::open test, testing for function parameters
12 $db = new SQLite3();
19 string(59) "SQLite3::__construct() expects at least 1 argument, 0 given"
H A Dbug81742.phpt2 Bug #81742 (open_basedir bypass in SQLite3 by using url encoded file)
9 $db = new SQLite3(':memory:');
13 Warning: SQLite3::query(): not authorized in %s on line %d
H A Dsqlite3_defensive.phpt2 SQLite3 defensive mode ini setting
8 if (SQLite3::version()['versionNumber'] < 3026000) {
18 $db = new SQLite3(':memory:');
38 Warning: SQLite3::querySingle(): Unable to prepare statement: table sqlite_master may not be modifi…
H A Dsqlite3_33_createAggregate_notcallable.phpt2 SQLite3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate…
14 $db = new SQLite3(':memory:');
35 SQLite3::createAggregate(): Argument #2 ($stepCallback) must be a valid callback, function "aggrega…
36 SQLite3::createAggregate(): Argument #3 ($finalCallback) must be a valid callback, function "aggreg…
H A Dsqlite3_prepare_faultystmt.phpt2 SQLite3::prepare test, testing for faulty statement
10 $db = new SQLite3(':memory:');
19 Warning: SQLite3::prepare(): Unable to prepare statement: no such table: bar in %s on line %d
H A Dsqlite3_17_version.phpt2 SQLite3::version()
7 print_r(SQLite3::version());
H A Dsqlite3_15_open_error.phpt2 SQLite3::open error test
23 $db = new SQLite3($unreadable);
33 #0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s')
H A Dsqlite3_01_open.phpt2 SQLite3::open/close tests
15 object(SQLite3)#%d (0) {
H A Dsqlite3_prepare_001.phpt2 SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
9 $class = new SQLite3(':memory:');
H A Dsqlite3_40_setauthorizer.phpt2 SQLite3 user authorizer callback
8 $db = new SQLite3(':memory:');
12 if ($action == SQLite3::SELECT) {
13 return SQLite3::OK;
16 return SQLite3::DENY;
38 $constants = (new ReflectionClass('SQLite3'))->getConstants();
H A Dsqlite3_open_empty_string.phpt2 SQLite3::open test with empty string argument via the constructor
10 $db = new SQLite3('');
H A Dbug73068.phpt2 Bug #73068 SQLite3 may fail to DELETE
7 $version = SQLite3::version()['versionNumber'];
13 $db = new \SQLite3(':memory:') ;
/php-src/ext/sqlite3/
H A Dsqlite3_arginfo.h168 ZEND_METHOD(SQLite3, open);
169 ZEND_METHOD(SQLite3, close);
170 ZEND_METHOD(SQLite3, version);
175 ZEND_METHOD(SQLite3, changes);
176 ZEND_METHOD(SQLite3, busyTimeout);
181 ZEND_METHOD(SQLite3, backup);
184 ZEND_METHOD(SQLite3, prepare);
185 ZEND_METHOD(SQLite3, exec);
186 ZEND_METHOD(SQLite3, query);
187 ZEND_METHOD(SQLite3, querySingle);
[all …]

Completed in 26 milliseconds

1234