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\Exception;
use Exception;
class ComposerCommandFailedException extends Exception
{
public array $details = [];
public function __construct(
public string $packageName,
string $output,
) {
parent::__construct($output);
}
public function guessCause(): ?string
{
return null;
}
protected function getRawPackageName(): string
{
return preg_replace('/^([A-z0-9-_\/]+)(?::.*|)$/i', '$1', $this->packageName);
}
}
?>
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\Exception;
use Exception;
class ComposerCommandFailedException extends Exception
{
public array $details = [];
public function __construct(
public string $packageName,
string $output,
) {
parent::__construct($output);
}
public function guessCause(): ?string
{
return null;
}
protected function getRawPackageName(): string
{
return preg_replace('/^([A-z0-9-_\/]+)(?::.*|)$/i', '$1', $this->packageName);
}
}
Function Calls
None |
Stats
MD5 | 8b45c70b56b9056c65faf33e8c0251d6 |
Eval Count | 0 |
Decode Time | 103 ms |