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\Dispatch; use Livewire\Component as BaseCompo..

Decoded Output download

<?php

namespace LegacyTests\Browser\Alpine\Dispatch;

use Livewire\Component as BaseComponent;

class DispatchNestedComponent extends BaseComponent
{
    public function render()
    {
        return
<<<'HTML'
<div>
    <div x-data>
        <button dusk="dispatchTo" @click="$wire.dispatchTo('parent', 'dispatch', { name: 'dispatchTo' })">Dispatch To</button>
    </div>
</div>
HTML;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\Alpine\Dispatch;

use Livewire\Component as BaseComponent;

class DispatchNestedComponent extends BaseComponent
{
    public function render()
    {
        return
<<<'HTML'
<div>
    <div x-data>
        <button dusk="dispatchTo" @click="$wire.dispatchTo('parent', 'dispatch', { name: 'dispatchTo' })">Dispatch To</button>
    </div>
</div>
HTML;
    }
}

Function Calls

None

Variables

None

Stats

MD5 9b032aa964325d603ee8f435edad725b
Eval Count 0
Decode Time 122 ms