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 /* * This file is part of Flarum. * * For detailed copyright and license informa..

Decoded Output download

<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

namespace Flarum\ExtensionManager\Command;

use Flarum\ExtensionManager\Task\Task;
use Flarum\User\User;

class UpdateExtension extends AbstractActionCommand
{
    public function __construct(
        public User $actor,
        public ?string $extensionId,
        public string $updateMode
    ) {
    }

    public function getOperationName(): string
    {
        return Task::EXTENSION_UPDATE;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

namespace Flarum\ExtensionManager\Command;

use Flarum\ExtensionManager\Task\Task;
use Flarum\User\User;

class UpdateExtension extends AbstractActionCommand
{
    public function __construct(
        public User $actor,
        public ?string $extensionId,
        public string $updateMode
    ) {
    }

    public function getOperationName(): string
    {
        return Task::EXTENSION_UPDATE;
    }
}

Function Calls

None

Variables

None

Stats

MD5 1cbb9a64dad303ee0671b9f2b4892798
Eval Count 0
Decode Time 91 ms