✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.67
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/profile-git-objects/network/src//Stream.php
<?php

declare (strict_types=1);
namespace YoastSEO_Vendor\GuzzleHttp\Psr7;

use YoastSEO_Vendor\Psr\Http\Message\StreamInterface;
/**
 * PHP stream implementation.
 */
class Stream implements \YoastSEO_Vendor\Psr\Http\Message\StreamInterface
{
    /**
     * @see https://www.php.net/manual/en/function.fopen.php
     * @see https://www.php.net/manual/en/function.gzopen.php
     */
    private const READABLE_MODES = '/r|a\\+|ab\\+|w\\+|wb\\+|x\\+|xb\\+|c\\+|cb\\+/';
    private const WRITABLE_MODES = '/a|w|r\\+|rb\\+|rw|x|c/';
    /** @var resource */
    private $stream;
    /** @var int|null */
    private $size;
    /** @var bool */
    private $seekable;
    /** @var bool */
    private $readable;
    /** @var bool */
    private $writable;
    /** @var string|null */
    private $uri;
    /** @var mixed[] */
    private $customMetadata;
    /**
     * This constructor accepts an associative array of options.
     *
     * - size: (int) If a read stream would otherwise have an indeterminate
     *   size, but the size is known due to foreknowledge, then you can
     *   provide that size, in bytes.
     * - metadata: (array) Any additional metadata to return when the metadata
     *   of the stream is accessed.
     *
     * @param resource                            $stream  Stream resource to wrap.
     * @param array{size?: int, metadata?: array} $options Associative array of options.
     *
     * @throws \InvalidArgumentException if the stream is not a stream resource
     */
    public function __construct($stream, array $options = [])
    {
        if (!\is_resource($stream)) {
            throw new \InvalidArgumentException('Stream must be a resource');
        }
        if (isset($options['size'])) {
            $this->size = $options['size'];
        }
        $this->customMetadata = $options['metadata'] ?? [];
        $this->stream = $stream;
        $meta = \stream_get_meta_data($this->stream);
        $this->seekable = $meta['seekable'];
        $this->readable = (bool) \preg_match(self::READABLE_MODES, $meta['mode']);
        $this->writable = (bool) \preg_match(self::WRITABLE_MODES, $meta['mode']);
        $this->uri = $this->getMetadata('uri');
    }
    /**
     * Closes the stream when the destructed
     */
    public function __destruct()
    {
        $this->close();
    }
    public function __toString() : string
    {
        try {
            if ($this->isSeekable()) {
                $this->seek(0);
            }
            return $this->getContents();
        } catch (\Throwable $e) {
            if (\PHP_VERSION_ID >= 70400) {
                throw $e;
            }
            \trigger_error(\sprintf('%s::__toString exception: %s', self::class, (string) $e), \E_USER_ERROR);
            return '';
        }
    }
    public function getContents() : string
    {
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        if (!$this->readable) {
            throw new \RuntimeException('Cannot read from non-readable stream');
        }
        return \YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::tryGetContents($this->stream);
    }
    public function close() : void
    {
        if (isset($this->stream)) {
            if (\is_resource($this->stream)) {
                \fclose($this->stream);
            }
            $this->detach();
        }
    }
    public function detach()
    {
        if (!isset($this->stream)) {
            return null;
        }
        $result = $this->stream;
        unset($this->stream);
        $this->size = $this->uri = null;
        $this->readable = $this->writable = $this->seekable = \false;
        return $result;
    }
    public function getSize() : ?int
    {
        if ($this->size !== null) {
            return $this->size;
        }
        if (!isset($this->stream)) {
            return null;
        }
        // Clear the stat cache if the stream has a URI
        if ($this->uri) {
            \clearstatcache(\true, $this->uri);
        }
        $stats = \fstat($this->stream);
        if (\is_array($stats) && isset($stats['size'])) {
            $this->size = $stats['size'];
            return $this->size;
        }
        return null;
    }
    public function isReadable() : bool
    {
        return $this->readable;
    }
    public function isWritable() : bool
    {
        return $this->writable;
    }
    public function isSeekable() : bool
    {
        return $this->seekable;
    }
    public function eof() : bool
    {
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        return \feof($this->stream);
    }
    public function tell() : int
    {
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        $result = \ftell($this->stream);
        if ($result === \false) {
            throw new \RuntimeException('Unable to determine stream position');
        }
        return $result;
    }
    public function rewind() : void
    {
        $this->seek(0);
    }
    public function seek($offset, $whence = \SEEK_SET) : void
    {
        $whence = (int) $whence;
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        if (!$this->seekable) {
            throw new \RuntimeException('Stream is not seekable');
        }
        if (\fseek($this->stream, $offset, $whence) === -1) {
            throw new \RuntimeException('Unable to seek to stream position ' . $offset . ' with whence ' . \var_export($whence, \true));
        }
    }
    public function read($length) : string
    {
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        if (!$this->readable) {
            throw new \RuntimeException('Cannot read from non-readable stream');
        }
        if ($length < 0) {
            throw new \RuntimeException('Length parameter cannot be negative');
        }
        if (0 === $length) {
            return '';
        }
        try {
            $string = \fread($this->stream, $length);
        } catch (\Exception $e) {
            throw new \RuntimeException('Unable to read from stream', 0, $e);
        }
        if (\false === $string) {
            throw new \RuntimeException('Unable to read from stream');
        }
        return $string;
    }
    public function write($string) : int
    {
        if (!isset($this->stream)) {
            throw new \RuntimeException('Stream is detached');
        }
        if (!$this->writable) {
            throw new \RuntimeException('Cannot write to a non-writable stream');
        }
        // We can't know the size after writing anything
        $this->size = null;
        $result = \fwrite($this->stream, $string);
        if ($result === \false) {
            throw new \RuntimeException('Unable to write to stream');
        }
        return $result;
    }
    /**
     * @return mixed
     */
    public function getMetadata($key = null)
    {
        if (!isset($this->stream)) {
            return $key ? null : [];
        } elseif (!$key) {
            return $this->customMetadata + \stream_get_meta_data($this->stream);
        } elseif (isset($this->customMetadata[$key])) {
            return $this->customMetadata[$key];
        }
        $meta = \stream_get_meta_data($this->stream);
        return $meta[$key] ?? null;
    }
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
18 Sep 2026 3.32 AM
docteuh / users
0755
Exception
--
9 Sep 2026 11.23 PM
docteuh / users
0755
config-wp-temp
--
9 Sep 2026 11.23 PM
docteuh / users
0755
AppendStream.php
5.887 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
BufferStream.php
3.204 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
CachingStream.php
4.691 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
DroppingStream.php
1.261 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
FnStream.php
4.264 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Header.php
3.86 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
HttpFactory.php
3.952 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
InflateStream.php
1.607 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LazyOpenStream.php
1.219 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LimitStream.php
4.201 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Message.php
8.406 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageTrait.php
7.587 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MimeType.php
44.165 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MultipartStream.php
5.244 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
NoSeekStream.php
0.576 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
PumpStream.php
4.615 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Query.php
4.019 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request-20260831062258.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Response.php
4.413 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Rfc7230.php
0.65 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ServerRequest.php
9.653 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Stream.php
7.303 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamDecoratorTrait.php
3.364 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamWrapper.php
4.193 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UploadedFile.php
5.025 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Uri.php
21.741 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriNormalizer.php
8.439 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriResolver.php
8.696 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Utils.php
15.894 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
icon-redirect-manager-20260827192224-20260829103225.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
user-edit-20260827081357-20260912191051.php
0.247 KB
6 Feb 2020 7.33 AM
docteuh / users
0644
user-edit-20260827081357.php
0.247 KB
6 Feb 2020 7.33 AM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF