[PHP-DEV] SQLite3: implement session extension

2022-10-23 Thread BohwaZ
Hi folks! 2 years ago I implemented some missing APIs in the SQLite3 extension, and I still want to get SQLite3 support in PHP to get better. Today I'll be talking about something that can become very useful: The SQLite3 session extension allows to create changesets from a database, that is to st

Re: [PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-21 Thread Dan Ackroyd
On Sat, 20 Jun 2020 at 15:22, Peter Bowyer wrote: > > Digging into the PHP source code is a fun challenge. It really isn't. Collecting and publishing information on how to work on PHP core, is one thing that takes a lot of time, that we should make easier for people to contribute to. > I've got

Re: [PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-20 Thread Peter Bowyer
On Tue, 16 Jun 2020 at 11:41, Dan Ackroyd wrote: > Note, I haven't done the work to actually make sure that this plan is > actually feasible, so it's not guaranteed to be the correct approach. > But it still sounds sensible and would scale out to other custom > methods for other connection types,

Re: [PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-16 Thread BohwaZ
On Tue, 16 Jun 2020 11:32:01 +0100 / Peter Bowyer said : > Hi list, > > 4 months ago there was a discussion about the future of SQLite3 and > PDO/SQLite extensions (https://externals.io/message/108256), > highlighting the effort required to maintain two codebases. Yes and I haven't had time to

Re: [PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-16 Thread Nikita Popov
On Tue, Jun 16, 2020 at 12:42 PM Dan Ackroyd wrote: > On Tue, 16 Jun 2020 at 11:32, Peter Bowyer > wrote: > > > > If it is, how can we change and improve the current situation? > > > > Hi Peter, > > I think what I wrote earlier is still a good approach: > https://externals.io/message/100773#1008

Re: [PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-16 Thread Dan Ackroyd
On Tue, 16 Jun 2020 at 11:32, Peter Bowyer wrote: > > If it is, how can we change and improve the current situation? > Hi Peter, I think what I wrote earlier is still a good approach: https://externals.io/message/100773#100813 > Taking it to a better solution is that the method sqliteCreateFunc

[PHP-DEV] SQLite3, PDO/SQLite and driver specific methods

2020-06-16 Thread Peter Bowyer
Hi list, 4 months ago there was a discussion about the future of SQLite3 and PDO/SQLite extensions (https://externals.io/message/108256), highlighting the effort required to maintain two codebases. Recently I encountered https://bugs.php.net/bug.php?id=64810 and thence https://github.com/php/php-

Re: [PHP-DEV] SQLite3 class missing createCollation()

2012-01-24 Thread b dewar
On Mon, Jan 23, 2012 at 6:44 PM, Damien Tournoud wrote: > Also see https://bugs.php.net/bug.php?id=55226 > > Same idea, but for the PDO_sqlite implementation. > > Damien > Thanks. I submitted my patch, and commented on both, referring each to the other. -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] SQLite3 class missing createCollation()

2012-01-23 Thread Damien Tournoud
Also see https://bugs.php.net/bug.php?id=55226 Same idea, but for the PDO_sqlite implementation. Damien On Mon, Jan 23, 2012 at 11:28 PM, b dewar wrote: > Hi > > I initially sent this to php-db, but I guess it really belongs on internals. > > The C API for SQLite3 has an sqlite3_create_collatio

[PHP-DEV] SQLite3 class missing createCollation()

2012-01-23 Thread b dewar
Hi I initially sent this to php-db, but I guess it really belongs on internals. The C API for SQLite3 has an sqlite3_create_collation() feature that's missing from PHP's SQLite3 class API. I'm working on a patch that adds the SQLite3::createCollation(string collation_name, mixed callback) method

[PHP-DEV] SQLite3

2008-07-01 Thread Scott MacVicar
Hi All, I've been working on sqlite3[1] as a replacement for the ageing sqlite extension, I've had a few people interested in getting this into 5.3 and I think its definitely a possibility as the API is more or less finalised at this moment in time. The reason that the current sqlite exte

[PHP-DEV] sqlite3 bindings in PHP

2004-08-10 Thread Derrell . Lipman
I'm considering implementing sqlite3 bindings in PHP, but before I undertake that project, is anyone else already working on it? Derrell -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php