ヤミRoot VoidGate
User / IP
:
216.73.216.33
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
doctrine
/
cache
/
tests
/
Doctrine
/
Tests
/
Common
/
Cache
/
Viewing: MemcacheCacheTest.php
<?php namespace Doctrine\Tests\Common\Cache; use Doctrine\Common\Cache\MemcacheCache; use Memcache; /** * @requires extension memcache */ class MemcacheCacheTest extends CacheTest { private $memcache; protected function setUp() { $this->memcache = new Memcache(); if (@$this->memcache->connect('localhost', 11211) === false) { unset($this->memcache); $this->markTestSkipped('Cannot connect to Memcache.'); } } protected function tearDown() { if ($this->memcache instanceof Memcache) { $this->memcache->flush(); } } /** * {@inheritdoc} * * Memcache does not support " " and null byte as key so we remove them from the tests. */ public function provideCacheIds() { $ids = parent::provideCacheIds(); unset($ids[21], $ids[22]); return $ids; } public function testGetMemcacheReturnsInstanceOfMemcache() { $this->assertInstanceOf('Memcache', $this->_getCacheDriver()->getMemcache()); } /** * {@inheritDoc} */ protected function _getCacheDriver() { $driver = new MemcacheCache(); $driver->setMemcache($this->memcache); return $driver; } }
Coded With 💗 by
0x6ick