Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Livewire; use Traversable; trait Transparency { public $target; ..

Decoded Output download

<?php

namespace Livewire;

use Traversable;

trait Transparency
{
    public $target;

    function __toString()
    {
        return (string) $this->target;
    }

    function offsetExists(mixed $offset): bool
    {
        return isset($this->target[$offset]);
    }

    function offsetGet(mixed $offset): mixed
    {
        return $this->target[$offset];
    }

    function offsetSet(mixed $offset, mixed $value): void
    {
        $this->target[$offset] = $value;
    }

    function offsetUnset(mixed $offset): void
    {
        unset($this->target[$offset]);
    }

    function getIterator(): Traversable
    {
        return (function () {
            foreach ($this->target as $key => $value) {
                yield $key => $value;
            }
        })();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire;

use Traversable;

trait Transparency
{
    public $target;

    function __toString()
    {
        return (string) $this->target;
    }

    function offsetExists(mixed $offset): bool
    {
        return isset($this->target[$offset]);
    }

    function offsetGet(mixed $offset): mixed
    {
        return $this->target[$offset];
    }

    function offsetSet(mixed $offset, mixed $value): void
    {
        $this->target[$offset] = $value;
    }

    function offsetUnset(mixed $offset): void
    {
        unset($this->target[$offset]);
    }

    function getIterator(): Traversable
    {
        return (function () {
            foreach ($this->target as $key => $value) {
                yield $key => $value;
            }
        })();
    }
}

Function Calls

None

Variables

None

Stats

MD5 e118ac5ab9027da84af1e5b6a31dfc48
Eval Count 0
Decode Time 113 ms