Decoded Output
Download<?php
class PhpAnonym
{
private $field;
public function __construct(int $field)
{
$this->field = $field;
}
public function funcOne(): int
{
return $this->field;
}
public function funcTwo(): int
{
$cls = new class(42) {
private $num;
public function __construct(int $num)
{
$this->num = $num;
}
public function getNum(): int
{
return $this->num;
}
};
return $cls->getNum();
}
}
?>
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 | 7199453218964484 |
|---|---|
| Eval Count | 0 |
| Decode Time | 81 ms |
Original Code
<?php
class PhpAnonym
{
private $field;
public function __construct(int $field)
{
$this->field = $field;
}
public function funcOne(): int
{
return $this->field;
}
public function funcTwo(): int
{
$cls = new class(42) {
private $num;
public function __construct(int $num)
{
$this->num = $num;
}
public function getNum(): int
{
return $this->num;
}
};
return $cls->getNum();
}
}