Horde_Mongo, PHP 7 and mongodb extension

Remi Collet <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
Hi,

Is there is any plan for Horde_Mongo and PHP 7 ?

The problem is that the Horde_Mongo_Client extends the MongoClient which
is provided by the pecl/mongo extension which will never be compatible
with PHP-7


I have run some test using https://github.com/alcaeus/mongo-php-adapter

Running the cache test suite:

$ phpunit MongoTest.php --verbose
PHPUnit 5.4.5 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.0.8RC1
Configuration:
/dev/shm/BUILD/php-horde-Horde-Cache-2.5.3/Horde_Cache-2.5.3/test/Horde/Cache/phpunit.xml

........                                          8 / 8 (100%)

Time: 466 ms, Memory: 4.00MB

OK (8 tests, 21 assertions)


So it seems to work as expected.

For now this is only a local PoC,
Would you be interested by a PR for this ?



Remi.

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 246 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAldhcV0ACgkQYUppBSnxahhw2QCfWWkGVHMC4iKM8LdqaDZbpPzi
LIkAoLePlcth1Xgy4HEOZa+yErLLFSqm
=Z9Lj
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.