����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.169 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/./././www/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/ |
Upload File : |
<?php
namespace OpenCloud\Common;
class ArrayAccess implements \ArrayAccess
{
protected $elements;
public function __construct($data = array())
{
$this->elements = (array) $data;
}
/**
* Sets a value to a particular offset.
*
* @param mixed $offset
* @param mixed $value
*/
public function offsetSet($offset, $value)
{
if ($offset === null) {
$this->elements[] = $value;
} else {
$this->elements[$offset] = $value;
}
}
/**
* Checks to see whether a particular offset key exists.
*
* @param mixed $offset
* @return bool
*/
public function offsetExists($offset)
{
return array_key_exists($offset, $this->elements);
}
/**
* Unset a particular key.
*
* @param mixed $offset
*/
public function offsetUnset($offset)
{
unset($this->elements[$offset]);
}
/**
* Get the value for a particular offset key.
*
* @param mixed $offset
* @return mixed|null
*/
public function offsetGet($offset)
{
return $this->offsetExists($offset) ? $this->elements[$offset] : null;
}
}