Decoded Output
Download<?php
declare(strict_types=1);
namespace App;
use Illuminate\Database\Eloquent\Model;
class GuardedModel extends Model
{
protected $guarded = ['text'];
/**
* @param array<string, mixed> $attributes
*/
public function __construct(array $attributes = [])
{
$attributes['name'] = $attributes['name'] ?? 'foo';
parent::__construct($attributes);
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 0007347612744567 |
|---|---|
| Eval Count | 0 |
| Decode Time | 98 ms |
Original Code
<?php
declare(strict_types=1);
namespace App;
use Illuminate\Database\Eloquent\Model;
class GuardedModel extends Model
{
protected $guarded = ['text'];
/**
* @param array<string, mixed> $attributes
*/
public function __construct(array $attributes = [])
{
$attributes['name'] = $attributes['name'] ?? 'foo';
parent::__construct($attributes);
}
}