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 Illuminate\Tests\Integration\Queue; use Illuminate\Database\Eloquent\Col..
Decoded Output download
<?php
namespace Illuminate\Tests\Integration\Queue;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Queue\SerializesModels;
class TypedPropertyTestClass
{
use SerializesModels;
public ModelSerializationTestUser $user;
public ModelSerializationTestUser $uninitializedUser;
protected int $id;
private array $names;
public function __construct(ModelSerializationTestUser $user, int $id, array $names)
{
$this->user = $user;
$this->id = $id;
$this->names = $names;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return array
*/
public function getNames()
{
return $this->names;
}
}
class TypedPropertyCollectionTestClass
{
use SerializesModels;
public Collection $users;
public function __construct(Collection $users)
{
$this->users = $users;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Tests\Integration\Queue;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Queue\SerializesModels;
class TypedPropertyTestClass
{
use SerializesModels;
public ModelSerializationTestUser $user;
public ModelSerializationTestUser $uninitializedUser;
protected int $id;
private array $names;
public function __construct(ModelSerializationTestUser $user, int $id, array $names)
{
$this->user = $user;
$this->id = $id;
$this->names = $names;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return array
*/
public function getNames()
{
return $this->names;
}
}
class TypedPropertyCollectionTestClass
{
use SerializesModels;
public Collection $users;
public function __construct(Collection $users)
{
$this->users = $users;
}
}
Function Calls
None |
Stats
MD5 | 21d66025dc7611759d59eb2c49e85b0e |
Eval Count | 0 |
Decode Time | 71 ms |