SQLite Forum

php sqlite3_create_window_function
Login
That's how it would have to be done, certainly, but I guess my point wasn't clear. When I asked the OP (presumably [Mar Zama](https://stackoverflow.com/questions/68166477/php-sqlite3-create-window-function)):

> What exactly are the parameters you're passing to 
`$db->createWindowFunction()`?

I meant that literally: How are you using this hypothetical function? If the answer is "I haven't really thought that far yet", then how would Mar Zama implement [sumint()](https://sqlite.org/windowfunctions.html#udfwinfunc) in PHP with `createWindowFunction()`?

Answering these questions goes a long way towards defining Mar Zama's requirements--and maybe suggest a alternative solution to a function that doesn't yet exist.