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 JsPhpize\Lexer; class DataBag { /** * @var array */ pr..
Decoded Output download
<?php
namespace JsPhpize\Lexer;
class DataBag
{
/**
* @var array
*/
protected $data;
public function __construct($type, array $data)
{
$this->data = array_merge([
'type' => $type,
], $data);
}
public function is($value)
{
return in_array($value, [$this->type, $this->value]);
}
public function typeIn($values)
{
return in_array($this->type, $values);
}
public function valueIn($values)
{
return in_array($this->value, $values);
}
public function __get($key)
{
return isset($this->data[$key]) ? $this->data[$key] : null;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace JsPhpize\Lexer;
class DataBag
{
/**
* @var array
*/
protected $data;
public function __construct($type, array $data)
{
$this->data = array_merge([
'type' => $type,
], $data);
}
public function is($value)
{
return in_array($value, [$this->type, $this->value]);
}
public function typeIn($values)
{
return in_array($this->type, $values);
}
public function valueIn($values)
{
return in_array($this->value, $values);
}
public function __get($key)
{
return isset($this->data[$key]) ? $this->data[$key] : null;
}
}
Function Calls
None |
Stats
MD5 | e51a3fdc4f75e79ddf94f0ce457cba07 |
Eval Count | 0 |
Decode Time | 72 ms |