(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)
Register an aggregating UDF for use in SQL statements
void sqlite_create_aggregate ( resource $dbhandle, string $function_name, callable $step_func, callable $finalize_func [, int $num_args = -1 ] )
Object oriented style (method):
public void SQLiteDatabase::createAggregate ( string $function_name , callable $step_func , callable $finalize_func [, int $num_args = -1 ] )
sqlite_c