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); namespace App; use Illuminate\Database\Eloquent\Model; ..
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?
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);
}
}
Function Calls
None |
Stats
MD5 | 0007347612744567703ae0320dd8f950 |
Eval Count | 0 |
Decode Time | 98 ms |