Home
last modified time | relevance | path

Searched refs:createFunction (Results 1 – 20 of 20) sorted by relevance

/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdo_sqlite_createafunction_arg_error.phpt2 Test PdoSqlite::createFunction() arguments error
19 $db->createFunction(null, [new TrampolineTest(), 'strtoupper']);
25 $db->createFunction('strtoupper', null);
31 $db->createFunction('strtoupper', [new TrampolineTest(), 'strtoupper'], null);
37 $db->createFunction('strtoupper', [new TrampolineTest(), 'strtoupper'], 1, null);
45 PdoSqlite::createFunction(): Argument #1 ($function_name) must be of type string, null given
46 PdoSqlite::createFunction(): Argument #2 ($callback) must be a valid callback, no array or string g…
47 PdoSqlite::createFunction(): Argument #3 ($num_args) must be of type int, null given
48 PdoSqlite::createFunction(): Argument #4 ($flags) must be of type int, null given
H A Dpdo_sqlite_createafunction_trampoline.phpt2 Test PdoSqlite::createFunction() trampoline callback
21 var_dump($db->createFunction('strtoupper', [new TrampolineTest(), 'strtoupper']));
H A Dpdo_sqlite_createfunction_with_flags.phpt2 PDO_sqlite: Testing createFunction() with flags
16 $db->createFunction('testing', function($v) { return strtolower($v); }, 1, PdoSqlite::DETERMINISTIC…
H A Dpdosqlite_001.phpt15 $db->createFunction('testing', function($v) { return strtolower($v); }, 1, PdoSqlite::DETERMINISTIC…
H A Dgc.phpt21 $obj->a->createFunction('func1', function() use ($obj) {}, 1);
H A Dpdosqlite_002.phpt17 $db->createFunction('testing', function($v) { return strtolower($v); }, 1, PdoSqlite::DETERMINISTIC…
/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_createfunction_no_leak.phpt2 SQLite3::createFunction use F ZPP for trampoline callback and does not leak
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
H A Dgh11878.phpt16 $this->sqlite->createFunction("func", array($this, "SQLiteIndex"), 0);
17 $this->sqlite->createFunction("func_closure", fn () => 0, 0);
H A Dsqlite3_08_udf.phpt2 SQLite3::createFunction
24 var_dump($db->createFunction('my_udf_md5', 'my_udf_md5'));
H A Dsqlite3_29_createfunction.phpt2 SQLite3::createFunction - Basic test
H A Dsqlite3_trampoline_createfunction.phpt2 SQLite3::createFunction trampoline callback
H A Dsqlite3_37_createfunction_flags.phpt2 SQLite3::createFunction - Test with flags
H A Dbug72668.phpt12 $db->createFunction('my_udf_md5', 'my_udf_md5');
H A Dsqlite3_trampoline_createcollation_no_leak.phpt2 SQLite3::createFunction use F ZPP for trampoline callback and does not leak
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.stub.php45 public function createFunction( function in PdoSqlite
H A Dpdo_sqlite_arginfo.h39 ZEND_METHOD(PdoSqlite, createFunction);
48 ZEND_ME(PdoSqlite, createFunction, arginfo_class_PdoSqlite_createFunction, ZEND_ACC_PUBLIC)
H A Dpdo_sqlite.c64 PHP_METHOD(PdoSqlite, createFunction) in PHP_METHOD() argument
/php-src/ext/sqlite3/
H A Dsqlite3.stub.php334 …public function createFunction(string $name, callable $callback, int $argCount = -1, int $flags = … function in SQLite3
H A Dsqlite3_arginfo.h188 ZEND_METHOD(SQLite3, createFunction);
239 ZEND_ME(SQLite3, createFunction, arginfo_class_SQLite3_createFunction, ZEND_ACC_PUBLIC)
H A Dsqlite3.c939 PHP_METHOD(SQLite3, createFunction) in PHP_METHOD() argument

Completed in 32 milliseconds