Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<div> <span dusk="lastEventForParent">{{ $this->lastEvent }}</span> <button wire:..

Decoded Output download

<?  <div>
    <span dusk="lastEventForParent">{{ $this->lastEvent }}</span>

    <button wire:click="$dispatch('foo', { value: 'baz' })" dusk="dispatch.baz"></button>

    <button wire:click="$dispatch('foo', { value: 'bob' })" dusk="dispatch.bob"></button>

    <button wire:click="$dispatchSelf('foo', { value: 'law' })" dusk="dispatch.law"></button>

    <button wire:click="$dispatchTo('component-b', 'foo', { value: 'blog' })" dusk="dispatch.blog"></button>

    @livewire(LegacyTests\Browser\Events\NestedComponentA::class)
    @livewire(LegacyTests\Browser\Events\NestedComponentB::class)
</div>
 ?>

Did this file decode correctly?

Original Code

<div>
    <span dusk="lastEventForParent">{{ $this->lastEvent }}</span>

    <button wire:click="$dispatch('foo', { value: 'baz' })" dusk="dispatch.baz"></button>

    <button wire:click="$dispatch('foo', { value: 'bob' })" dusk="dispatch.bob"></button>

    <button wire:click="$dispatchSelf('foo', { value: 'law' })" dusk="dispatch.law"></button>

    <button wire:click="$dispatchTo('component-b', 'foo', { value: 'blog' })" dusk="dispatch.blog"></button>

    @livewire(LegacyTests\Browser\Events\NestedComponentA::class)
    @livewire(LegacyTests\Browser\Events\NestedComponentB::class)
</div>

Function Calls

None

Variables

None

Stats

MD5 281c7897aa3c4d8c44fc7341a28e628d
Eval Count 0
Decode Time 123 ms