17 Commits

Author SHA1 Message Date
Zaffy
e090f05a05 More work on pecl-memcache (#76)
* Use zend_bool for ini bool settings

Related to #56

* Initial work for php 8

* php7 -> php8

* Add test for #53

* Fix support for binary protocol

* php8 -> src

* Backwards compatibility with php 7.3, 7.4

This will allow us to have one unified branch that will compile
under different versions of php.

* Add test for pecl bug #77900

* Fix some memory leaks

* Support for reflection

- added / updated arginfos
- fix functions returning NULL instead of advertised return type,
  For example, when memcached returned error on "delete", function
  returned null instead of false
- added tests for both php8 and 7

* Fix typo

* Update config.w32

Co-authored-by: Tyson Andre <tyson.andre@uwaterloo.ca>

Co-authored-by: Tyson Andre <tysonandre775@hotmail.com>
Co-authored-by: Tomas Srnka <tomassrnka@users.noreply.github.com>
Co-authored-by: Tyson Andre <tyson.andre@uwaterloo.ca>
2020-10-16 09:52:01 +02:00
Zaffy
7889bd1d23 Porting to php8 (#74)
* Initial work for php 8

* php7 -> php8
2020-09-24 19:27:46 +02:00
Tomas Srnka
ed8e04e8cc Fixed #60 2019-12-20 16:11:01 +01:00
Tomas Srnka
18044d8231 Fixed typo 2019-05-27 12:56:43 +02:00
Tomas Srnka
bc78f96ae4 Removed PHP5 from the source code & build process. 2019-05-27 12:48:59 +02:00
Szabolcs Balogh
d7e4896dfe split php5/php7 2015-11-30 01:33:57 +01:00
Remi Collet
533901a1a7 fix Bug #67483 underlinking of zlib (yselkowitz) 2014-06-20 07:15:29 +02:00
Mikael Johansson
6a79abc8f3 Binary protocol support 2007-11-03 09:19:07 +00:00
Mikael Johansson
48298abf87 Improved failover/redundancy strategy
* Continue failover from same point in sequence is multiple failures
 * Don't failover to server already tried
 * Distribute redundant keys evenly
2007-09-27 17:54:18 +00:00
Mikael Johansson
37b5e1c7f7 Fixed non-session build 2007-09-23 07:54:09 +00:00
Mikael Johansson
7f6fe44268 Use $phpincludedir instead of manually looking for includes 2007-09-04 16:55:53 +00:00
Mikael Johansson
6feee5a167 Upped consistent hash points from 100 to 160
Fixed build with --disable-memcache-session
Merged fix for #11221
2007-08-30 18:04:55 +00:00
Mikael Johansson
32ddab1edc Merged patch for non-standard php include dirs
Use STREAM_OPEN_PERSISTENT if persistent (correct?)
Set UDP retry timeout to same as for tcp
2007-05-30 16:49:06 +00:00
Mikael Johansson
3597f1c387 Non-blocking IO using select()
UDP support for get requests
Support for pipelined requests
Multi set/delete/increment/decrement
2007-05-22 16:27:15 +00:00
Mikael Johansson
82117c23a6 Consistent hashing support using CRC32("server:port")
memcache.hash_strategy INI directive
2007-05-01 10:25:49 +00:00
Antony Dovgal
a21df823e7 use --with-libdir, available since PHP5 2006-12-26 10:04:47 +00:00
Antony Dovgal
ba09dadb04 improve session support by using PHP_ADD_EXTENSION_DEP() macro, when possible.
this makes it possible to disable session support and also memcache's ./configure
will fail gracefully if you enable it, but ext/session is missing.
2006-11-15 21:05:03 +00:00