Home
last modified time | relevance | path

Searched refs:createCollation (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_createcollation_no_leak.phpt19 var_dump($db->createCollation('', $callback));
22 var_dump($db->createCollation(new stdClass(), $callback));
27 var_dump($db->createCollation('NAT', $callback, new stdClass()));
37 var_dump($obj->createCollation('NAT', $callback));
42 var_dump($db->createCollation('NAT', $callback));
47 TypeError: SQLite3::createCollation(): Argument #1 ($name) must be of type string, stdClass given
48 ArgumentCountError: SQLite3::createCollation() expects exactly 2 arguments, 3 given
H A Dsqlite3_36_create_collation.phpt2 Test SQLite3::createCollation() by adding strnatcmp() as an SQL COLLATE sequence
10 $db->createCollation('NAT', 'strnatcmp');
H A Dgh11878.phpt18 $this->sqlite->createCollation("collation", array($this, "SQLiteIndex"));
19 $this->sqlite->createCollation("collation_closure", fn () => 0);
H A Dsqlite3_trampoline_create_collation.phpt2 Test SQLite3::createCollation() trampoline callback
19 $db->createCollation('NAT', $callback);
H A Dbug68760.phpt19 $db->createCollation('NATURAL_CMP', 'oopsFunction');
/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdo_sqlite_createcollation_arg_error.phpt2 Test Pdo\Sqlite::createCollation() arguments error
19 $db->createCollation(null, [new TrampolineTest(), 'NAT']);
25 $db->createCollation('NAT', null);
33 Pdo\Sqlite::createCollation(): Argument #1 ($name) must be of type string, null given
34 Pdo\Sqlite::createCollation(): Argument #2 ($callback) must be a valid callback, no array or string…
H A Dpdo_sqlite_createcollation_trampoline.phpt2 Test Pdo\Sqlite::createCollation() trampoline callback
21 var_dump($db->createCollation('NAT', [new TrampolineTest(), 'NAT']));
H A Dgc.phpt23 $obj->a->createCollation('col', function() use ($obj) {});
H A Dpdo_sqlite_createcollation.phpt16 $db->createCollation('MYCOLLATE', function($a, $b) { return strnatcmp($a, $b); });
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.stub.php45 public function createCollation(string $name, callable $callback): bool {} function in Pdo\\Sqlite
H A Dpdo_sqlite_arginfo.h38 ZEND_METHOD(Pdo_Sqlite, createCollation);
47 ZEND_ME(Pdo_Sqlite, createCollation, arginfo_class_Pdo_Sqlite_createCollation, ZEND_ACC_PUBLIC)
H A Dpdo_sqlite.c376 PHP_METHOD(Pdo_Sqlite, createCollation) in PHP_METHOD() argument
/php-src/ext/sqlite3/
H A Dsqlite3.stub.php229 public function createCollation(string $name, callable $callback): bool {} function in SQLite3
H A Dsqlite3_arginfo.h190 ZEND_METHOD(SQLite3, createCollation);
237 ZEND_ME(SQLite3, createCollation, arginfo_class_SQLite3_createCollation, ZEND_ACC_PUBLIC)
H A Dsqlite3.c1038 PHP_METHOD(SQLite3, createCollation) in PHP_METHOD() argument

Completed in 31 milliseconds