On 18.08.2016 at 01:32, Kalle Sommer Nielsen wrote: > 2016-08-15 7:53 GMT+02:00 Stanislav Malyshev <smalys...@gmail.com>: >> Please comment and discuss! > > What about adding the following: > ext/dba > > As for DBA, this extension have not really seen any major updates or > anything since 2009 when the Tokyo Cabinet support was added (PHP > 5.3), is this still used largely or?
I don't know, but most certainly not on Windows. I had a look at ext/dba, because I like that we have it bundled, but got 3 failing tests (flatfile and inifile), which might be caused by running in a Vagrant box on NTFS. So I tried to compile on Windows, just to learn that config.w32 is totally out-dated. It doesn't support individual config options for the different drivers, but rather checks whether db3 is found, and only then configures the built in drivers. Of course, db3 is not part of the delivered deps, what is likely the reason that dba_php.dll isn't distributed anymore as of PHP 5.3 (it would make sense, IMO, to ship dba_php.dll with the built-in drivers plus those whose requirements could be bundled in the deps). Fixing config.w32 shouldn't be too hard (it may take quite some time to test with the different drivers, though), but I expect further issues would have to be solved. Besides some unresolved bugs[1], for instance, it still uses zend_get_parameters_array_ex() at least once[2], even though this API has been deprecated as of PHP 7.0.0. [1] <https://bugs.php.net/search.php?cmd=display&package_name[]=DBM%2FDBA+related> [2] <https://github.com/php/php-src/blob/PHP-7.0.9/ext/dba/dba.c#L654> -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php