/PHP-8.4/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdo_sqlite_createaggregate_arg_error.phpt | 2 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 D | pdo_sqlite_createaggregate_002.phpt | 2 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 D | pdo_sqlite_createaggregate.phpt | 2 PDO_sqlite: Testing createAggregate() 15 $db->createAggregate('testing', function(&$a, $b) { $a .= $b; return $a; }, function(&$v) { return …
|
H A D | pdo_sqlite_createaggregate_trampoline.phpt | 2 Test Pdo\Sqlite::createAggregate() trampoline callback 30 var_dump($db->createAggregate('S', [new TrampolineTest(), 'step'], [new TrampolineTest(), 'finalize…
|
H A D | gc.phpt | 22 $obj->a->createAggregate('func2', function() use ($obj) {}, function() use($obj) {});
|
/PHP-8.4/ext/sqlite3/tests/ |
H A D | sqlite3_trampoline_create_aggregate_no_leak.phpt | 2 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 D | sqlite3_33_createAggregate_notcallable.phpt | 2 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 D | gh11878.phpt | 12 …$this->sqlite->createAggregate("indexes", array($this, "SQLiteIndex"), array($this, "SQLiteFinal")… 13 $this->sqlite->createAggregate("indexes_closure", fn () => 0, fn () => 0, 0);
|
H A D | sqlite3_25_create_aggregate.phpt | 2 SQLite3::createAggregate() test 34 $db->createAggregate('S', 'sum_list_step', 'sum_list_finalize', 1);
|
H A D | sqlite3_trampoline_create_aggregate.phpt | 2 SQLite3::createAggregate() trampoline callback 39 $db->createAggregate('S', $step, $finalize, 1);
|
/PHP-8.4/ext/pdo_sqlite/ |
H A D | pdo_sqlite.stub.php | 37 public function createAggregate( function in Pdo\\Sqlite
|
H A D | pdo_sqlite_arginfo.h | 37 ZEND_METHOD(Pdo_Sqlite, createAggregate); 46 ZEND_ME(Pdo_Sqlite, createAggregate, arginfo_class_Pdo_Sqlite_createAggregate, ZEND_ACC_PUBLIC)
|
H A D | pdo_sqlite.c | 371 PHP_METHOD(Pdo_Sqlite, createAggregate) in PHP_METHOD() argument
|
/PHP-8.4/ext/sqlite3/ |
H A D | sqlite3.stub.php | 226 …public function createAggregate(string $name, callable $stepCallback, callable $finalCallback, int… function in SQLite3
|
H A D | sqlite3_arginfo.h | 189 ZEND_METHOD(SQLite3, createAggregate); 236 ZEND_ME(SQLite3, createAggregate, arginfo_class_SQLite3_createAggregate, ZEND_ACC_PUBLIC)
|
H A D | sqlite3.c | 984 PHP_METHOD(SQLite3, createAggregate) in PHP_METHOD() argument
|