Skip to content

Commit fb69c1a

Browse files
committed
pull from upstream
2 parents fc7cd3e + 51ef6a6 commit fb69c1a

File tree

12 files changed

+133
-172
lines changed

12 files changed

+133
-172
lines changed

ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
memcached extension changelog
2+
3+
Version 0.1.1
4+
-------------
5+
* Add OPT_LIBKETAMA_COMPATIBLE option.
6+
* Implement addServers() method.
7+
* Swap internal compressed and serialized flags to be compatible with other clients.
8+
9+
Version 0.1.0
10+
-------------
11+
* Initial release

README

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
This is a PHP extension for interfacing with memcached via libmemcached library.
1+
This extension uses libmemcached library to provide API for communicating with
2+
memcached servers.
23

4+
memcached is a high-performance, distributed memory object caching system,
5+
generic in nature, but intended for use in speeding up dynamic web applications
6+
by alleviating database load.
37

48
Resources
59
---------
6-
710
libmemcached:
811
http://tangent.org/552/libmemcached.html
912

manual/Makefile

Lines changed: 0 additions & 25 deletions
This file was deleted.

manual/file-entities.ent

Lines changed: 0 additions & 3 deletions
This file was deleted.

manual/functions.xml

Whitespace-only changes.

manual/manual.xml.in

Lines changed: 0 additions & 37 deletions
This file was deleted.

manual/memcached/configure.xml

Lines changed: 0 additions & 43 deletions
This file was deleted.

manual/memcached/reference.xml

Lines changed: 0 additions & 53 deletions
This file was deleted.

memcached-api.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class Memcached {
3636

3737
const OPT_DISTRIBUTION_CONSISTENT;
3838

39-
const OPT_BUFER_REQUESTS;
39+
const OPT_LIBKETAMA_COMPATIBLE;
40+
41+
const OPT_BUFFER_REQUESTS;
4042

4143
const OPT_BINARY_PROTOCOL;
4244

@@ -129,7 +131,9 @@ public function getOption( $option ) {}
129131

130132
public function setOption( $option, $value ) {}
131133

132-
public function addServer( $host, $port, $weight = 0 );
134+
public function addServer( $host, $port, $weight = 0 ) {}
135+
136+
public function addServers( array $servers ) {}
133137

134138
public function getServerList( ) {}
135139

package.xml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,28 @@ http://pear.php.net/dtd/package-2.0.xsd">
1515
<email>[email protected]</email>
1616
<active>yes</active>
1717
</lead>
18-
<date>2009-01-29</date>
18+
<date>2009-02-02</date>
1919
<version>
20-
<release>0.1.0</release>
21-
<api>0.1.0</api>
20+
<release>0.1.1</release>
21+
<api>0.1.1</api>
2222
</version>
2323
<stability>
2424
<release>beta</release>
2525
<api>beta</api>
2626
</stability>
2727
<license uri="http://www.php.net/license">PHP</license>
28-
<notes>Initial PECL release</notes>
28+
<notes>
29+
- Add OPT_LIBKETAMA_COMPATIBLE option.
30+
- Implement addServers() method.
31+
- Swap internal compressed and serialized flags to be compatible with other clients.
32+
</notes>
2933
<contents>
3034
<dir name="/">
3135
<file role='doc' name='EXPERIMENTAL'/>
3236
<file role='doc' name='README'/>
3337
<file role='doc' name='CREDITS'/>
3438
<file role='doc' name='LICENSE'/>
39+
<file role='doc' name='ChangeLog'/>
3540
<file role='doc' name='memcached-api.php'/>
3641
<file role='src' name='config.m4'/>
3742
<file role='src' name='config.w32'/>
@@ -54,6 +59,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
5459
<providesextension>memcached</providesextension>
5560
<extsrcrelease/>
5661
<changelog>
62+
<release>
63+
<stability><release>beta</release><api>beta</api></stability>
64+
<version><release>0.1.1</release><api>0.1.1</api></version>
65+
<date>2009-02-02</date>
66+
<notes>
67+
- Add OPT_LIBKETAMA_COMPATIBLE option.
68+
- Implement addServers() method.
69+
- Swap internal compressed and serialized flags to be compatible with other clients.
70+
</notes>
71+
</release>
5772
<release>
5873
<stability><release>beta</release><api>beta</api></stability>
5974
<version><release>0.1.0</release><api>0.1.0</api></version>

0 commit comments

Comments
 (0)