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 App\Exceptions; use App\Models\Playlist; use Exception; use Throwable; ..
Decoded Output download
<?php
namespace App\Exceptions;
use App\Models\Playlist;
use Exception;
use Throwable;
class NonSmartPlaylistException extends Exception
{
private function __construct(string $message = '', int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
public static function create(Playlist $playlist): self
{
return new static($playlist->name . ' is not a smart playlist.');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Exceptions;
use App\Models\Playlist;
use Exception;
use Throwable;
class NonSmartPlaylistException extends Exception
{
private function __construct(string $message = '', int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
public static function create(Playlist $playlist): self
{
return new static($playlist->name . ' is not a smart playlist.');
}
}
Function Calls
None |
Stats
MD5 | c9984a2924e820ccf4b9a776b90fb817 |
Eval Count | 0 |
Decode Time | 117 ms |