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 declare(strict_types=1); /* * This file is a part of Sculpin. * * (c) Dragonfly..

Decoded Output download

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Source;

use Dflydev\DotAccessConfiguration\Configuration as Data;

/**
 * @author Beau Simensen <[email protected]>
 */
class MemorySource extends AbstractSource
{
    public function __construct(
        string $sourceId,
        Data $data,
        string $content,
        ?string $formattedContent,
        string $relativePathname,
        string $filename,
        \SplFileInfo $file,
        bool $isRaw,
        bool $canBeFormatted,
        bool $hasChanged
    ) {
        $this->sourceId = $sourceId;
        $this->data = $data;
        $this->content = $content;
        $this->formattedContent = $formattedContent;
        $this->relativePathname = $relativePathname;
        $this->filename = $filename;
        $this->file = $file;
        $this->isRaw = $isRaw;
        $this->canBeFormatted = $canBeFormatted;
        $this->hasChanged = $hasChanged;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Source;

use Dflydev\DotAccessConfiguration\Configuration as Data;

/**
 * @author Beau Simensen <[email protected]>
 */
class MemorySource extends AbstractSource
{
    public function __construct(
        string $sourceId,
        Data $data,
        string $content,
        ?string $formattedContent,
        string $relativePathname,
        string $filename,
        \SplFileInfo $file,
        bool $isRaw,
        bool $canBeFormatted,
        bool $hasChanged
    ) {
        $this->sourceId = $sourceId;
        $this->data = $data;
        $this->content = $content;
        $this->formattedContent = $formattedContent;
        $this->relativePathname = $relativePathname;
        $this->filename = $filename;
        $this->file = $file;
        $this->isRaw = $isRaw;
        $this->canBeFormatted = $canBeFormatted;
        $this->hasChanged = $hasChanged;
    }
}

Function Calls

None

Variables

None

Stats

MD5 45a162f3a28d16cca0551afff87fffbb
Eval Count 0
Decode Time 107 ms