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\Transition; use Livewire\Component as BaseCom..
Decoded Output download
<?php
namespace LegacyTests\Browser\Alpine\Transition;
use Livewire\Component as BaseComponent;
class EntangleComponent extends BaseComponent
{
public $show = true;
public $changeDom = false;
public function render()
{
return <<<'EOD'
<div>
<div x-data="{ show: @entangle('show').live }">
<button x-on:click="show = ! show" dusk="button">Toggle</button>
<button wire:click="$toggle('changeDom')" dusk="change-dom">Change DOM</button>
<div x-show="show" dusk="outer">
<div x-show.transition.duration.250ms="show" x-transition.duration.250ms dusk="inner">
<h1>@if ($changeDom) @json($show) @else static-filler @endif</h1>
</div>
</div>
</div>
</div>
EOD;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace LegacyTests\Browser\Alpine\Transition;
use Livewire\Component as BaseComponent;
class EntangleComponent extends BaseComponent
{
public $show = true;
public $changeDom = false;
public function render()
{
return <<<'EOD'
<div>
<div x-data="{ show: @entangle('show').live }">
<button x-on:click="show = ! show" dusk="button">Toggle</button>
<button wire:click="$toggle('changeDom')" dusk="change-dom">Change DOM</button>
<div x-show="show" dusk="outer">
<div x-show.transition.duration.250ms="show" x-transition.duration.250ms dusk="inner">
<h1>@if ($changeDom) @json($show) @else static-filler @endif</h1>
</div>
</div>
</div>
</div>
EOD;
}
}
Function Calls
None |
Stats
MD5 | 1becd42b9810f785991bf3d08a4d3631 |
Eval Count | 0 |
Decode Time | 105 ms |