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 LegacyTests\Browser\Alpine; use Illuminate\Support\Facades\View; use Liv..
Decoded Output download
<?php
namespace LegacyTests\Browser\Alpine;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class Component extends BaseComponent
{
public $count = 0;
public $special = 'abc';
public $zorp = 'before';
public $nested = [
'count' => 0,
];
public function incrementNestedCount()
{
$this->nested['count'] = $this->nested['count'] + 1;
}
public function setCount($value)
{
$this->count = $value;
}
public function setSpecial($value)
{
$this->special = $value;
}
public function dispatchSomeEvent()
{
$this->dispatch('some-event', bar: 'bar');
}
public function returnValue($value)
{
return $value;
}
public function updatingCount()
{
if ($this->count === 100) throw new \Exception('"count" shouldnt already be "100". This means @entangle made an extra request after Livewire set the data.');
}
public function render()
{
return View::file(__DIR__.'/view.blade.php');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace LegacyTests\Browser\Alpine;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class Component extends BaseComponent
{
public $count = 0;
public $special = 'abc';
public $zorp = 'before';
public $nested = [
'count' => 0,
];
public function incrementNestedCount()
{
$this->nested['count'] = $this->nested['count'] + 1;
}
public function setCount($value)
{
$this->count = $value;
}
public function setSpecial($value)
{
$this->special = $value;
}
public function dispatchSomeEvent()
{
$this->dispatch('some-event', bar: 'bar');
}
public function returnValue($value)
{
return $value;
}
public function updatingCount()
{
if ($this->count === 100) throw new \Exception('"count" shouldnt already be "100". This means @entangle made an extra request after Livewire set the data.');
}
public function render()
{
return View::file(__DIR__.'/view.blade.php');
}
}
Function Calls
| None |
Stats
| MD5 | 0d1855490e182d5115f943ea19db7a3d |
| Eval Count | 0 |
| Decode Time | 91 ms |