Home
last modified time | relevance | path

Searched refs:createAggregate (Results 1 – 16 of 16) sorted by relevance

/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdo_sqlite_createaggregate_arg_error.phpt2 Test Pdo\Sqlite::createAggregate() arguments error
19 $db->createAggregate(null, [new TrampolineTest(), 'step'], null, 1);
25 $db->createAggregate(null, null, [new TrampolineTest(), 'step'], 1);
31 $db->createAggregate(null, [new TrampolineTest(), 'step'], [new TrampolineTest(), 'step'], 1);
37 $db->createAggregate('S', null, [new TrampolineTest(), 'finalize'], 1);
43 $db->createAggregate('S', [new TrampolineTest(), 'step'], null, 1);
57 Pdo\Sqlite::createAggregate(): Argument #1 ($name) must be of type string, null given
58 Pdo\Sqlite::createAggregate(): Argument #1 ($name) must be of type string, null given
59 Pdo\Sqlite::createAggregate(): Argument #1 ($name) must be of type string, null given
60 Pdo\Sqlite::createAggregate(): Argument #2 ($step) must be a valid callback, no array or string giv…
[all …]
H A Dpdo_sqlite_createaggregate_002.phpt2 PDO_sqlite: Testing invalid callback for createAggregate()
12 $pdo->createAggregate('foo', 'a', '');
17 $pdo->createAggregate('foo', 'strlen', '');
24 Pdo\Sqlite::createAggregate(): Argument #2 ($step) must be a valid callback, function "a" not found…
25 Pdo\Sqlite::createAggregate(): Argument #3 ($finalize) must be a valid callback, function "" not fo…
H A Dpdo_sqlite_createaggregate.phpt2 PDO_sqlite: Testing createAggregate()
15 $db->createAggregate('testing', function(&$a, $b) { $a .= $b; return $a; }, function(&$v) { return …
H A Dpdo_sqlite_createaggregate_trampoline.phpt2 Test Pdo\Sqlite::createAggregate() trampoline callback
30 var_dump($db->createAggregate('S', [new TrampolineTest(), 'step'], [new TrampolineTest(), 'finalize…
H A Dgc.phpt22 $obj->a->createAggregate('func2', function() use ($obj) {}, function() use($obj) {});
/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_create_aggregate_no_leak.phpt2 SQLite3::createAggregate() use F ZPP for trampoline callback and does not leak
29 var_dump($db->createAggregate('', $step, $finalize, 1));
32 var_dump($db->createAggregate(new stdClass(), $step, $finalize, new stdClass()));
37 var_dump($db->createAggregate('S', $step, $finalize, new stdClass()));
42 var_dump($db->createAggregate('S', $step, 'no_func', 1));
47 var_dump($db->createAggregate('S', 'no_func', $finalize, 1));
53 var_dump($db->createAggregate('S', $step, $finalize, 'not a number'));
63 var_dump($obj->createAggregate('S', $step, $finalize, 1));
68 var_dump($db->createAggregate('S', $step, $finalize, 1));
76 TypeError: SQLite3::createAggregate(): Argument #1 ($name) must be of type string, stdClass given
[all …]
H A Dsqlite3_33_createAggregate_notcallable.phpt2 SQLite3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate…
17 $db->createAggregate('TESTAGGREGATE', 'aggregate_test_step', 'aggregate_final');
23 $db->createAggregate('TESTAGGREGATE2', 'aggregate_step', 'aggregate_test_final');
28 var_dump($db->createAggregate ('TESTAGGREGATE3', 'aggregate_step', 'aggregate_final'));
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 Dgh11878.phpt12 …$this->sqlite->createAggregate("indexes", array($this, "SQLiteIndex"), array($this, "SQLiteFinal")…
13 $this->sqlite->createAggregate("indexes_closure", fn () => 0, fn () => 0, 0);
H A Dsqlite3_25_create_aggregate.phpt2 SQLite3::createAggregate() test
34 $db->createAggregate('S', 'sum_list_step', 'sum_list_finalize', 1);
H A Dsqlite3_trampoline_create_aggregate.phpt2 SQLite3::createAggregate() trampoline callback
39 $db->createAggregate('S', $step, $finalize, 1);
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.stub.php37 public function createAggregate( function in Pdo\\Sqlite
H A Dpdo_sqlite_arginfo.h37 ZEND_METHOD(Pdo_Sqlite, createAggregate);
46 ZEND_ME(Pdo_Sqlite, createAggregate, arginfo_class_Pdo_Sqlite_createAggregate, ZEND_ACC_PUBLIC)
H A Dpdo_sqlite.c371 PHP_METHOD(Pdo_Sqlite, createAggregate) in PHP_METHOD() argument
/php-src/ext/sqlite3/
H A Dsqlite3.stub.php226 …public function createAggregate(string $name, callable $stepCallback, callable $finalCallback, int… function in SQLite3
H A Dsqlite3_arginfo.h189 ZEND_METHOD(SQLite3, createAggregate);
236 ZEND_ME(SQLite3, createAggregate, arginfo_class_SQLite3_createAggregate, ZEND_ACC_PUBLIC)
H A Dsqlite3.c984 PHP_METHOD(SQLite3, createAggregate) in PHP_METHOD() argument

Completed in 21 milliseconds