Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
6462353f
Commit
6462353f
authored
5 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fix whitespace
parent
dbd05633
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/Utils/Stubs/memcache.php
+26
-28
26 additions, 28 deletions
tests/Utils/Stubs/memcache.php
tests/Utils/Stubs/memcached.php
+1289
-1289
1289 additions, 1289 deletions
tests/Utils/Stubs/memcached.php
with
1315 additions
and
1317 deletions
tests/Utils/Stubs/memcache.php
+
26
−
28
View file @
6462353f
...
...
@@ -2,8 +2,8 @@
// Start of memcache v.3.0.8
class
MemcachePool
{
class
MemcachePool
{
/**
* (PECL memcache >= 0.2.0)<br/>
* Open memcached server connection
...
...
@@ -325,38 +325,36 @@ class MemcachePool {
* @return boolean Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public
function
flush
()
{}
}
/**
* Represents a connection to a set of memcache servers.
* @link https://php.net/manual/en/class.memcache.php
*/
class
Memcache
extends
MemcachePool
{
/**
* (PECL memcache >= 0.4.0)<br/>
* Open memcached server persistent connection
* @link https://php.net/manual/en/memcache.pconnect.php
* @param string $host <p>
* Point to the host where memcached is listening for connections. This parameter
* may also specify other transports like unix:///path/to/memcached.sock
* to use UNIX domain sockets, in this case <i>port</i> must also
* be set to 0.
* </p>
* @param int $port [optional] <p>
* Point to the port where memcached is listening for connections. Set this
* parameter to 0 when using UNIX domain sockets.
* </p>
* @param int $timeout [optional] <p>
* Value in seconds which will be used for connecting to the daemon. Think
* twice before changing the default value of 1 second - you can lose all
* the advantages of caching if your connection is too slow.
* </p>
* @return mixed a Memcache object or <b>FALSE</b> on failure.
*/
public
function
pconnect
(
$host
,
$port
,
$timeout
=
1
)
{}
class
Memcache
extends
MemcachePool
{
/**
* (PECL memcache >= 0.4.0)<br/>
* Open memcached server persistent connection
* @link https://php.net/manual/en/memcache.pconnect.php
* @param string $host <p>
* Point to the host where memcached is listening for connections. This parameter
* may also specify other transports like unix:///path/to/memcached.sock
* to use UNIX domain sockets, in this case <i>port</i> must also
* be set to 0.
* </p>
* @param int $port [optional] <p>
* Point to the port where memcached is listening for connections. Set this
* parameter to 0 when using UNIX domain sockets.
* </p>
* @param int $timeout [optional] <p>
* Value in seconds which will be used for connecting to the daemon. Think
* twice before changing the default value of 1 second - you can lose all
* the advantages of caching if your connection is too slow.
* </p>
* @return mixed a Memcache object or <b>FALSE</b> on failure.
*/
public
function
pconnect
(
$host
,
$port
,
$timeout
=
1
)
{}
}
// string $host [, int $port [, int $timeout ]]
...
...
This diff is collapsed.
Click to expand it.
tests/Utils/Stubs/memcached.php
+
1289
−
1289
View file @
6462353f
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment