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> <button wire:click="$refresh" dusk="refresh">Refresh</button> <button wire:c..

Decoded Output download

<?  <div>
    <button wire:click="$refresh" dusk="refresh">Refresh</button>
    <button wire:click="flashMessage" dusk="flash">Flash</button>
    <button wire:click="redirectWithFlash" dusk="redirect-with-flash">Redirect With Flash</button>

    <button wire:click="redirectPage" dusk="redirect.button">Redirect Page</button>
    <span dusk="redirect.blade.output">{{ $message }}</span>
    <span x-data="{ message: @entangle('message') }" x-text="message" dusk="redirect.alpine.output"></span>

    <button wire:click="redirectPageWithModel" dusk="redirect-with-model.button">Redirect PageWithModel</button>
    <span dusk="redirect.blade.model-output">{{ $foo }}</span>
    <span x-data="{ message: @entangle('foo') }" x-text="message" dusk="redirect.alpine.model-output"></span>

    <div>
        @if (session()->has('message'))
            <h1 dusk="flash.message">{{ session()->get('message') }}</h1>
        @endif
    </div>
</div>
 ?>

Did this file decode correctly?

Original Code

<div>
    <button wire:click="$refresh" dusk="refresh">Refresh</button>
    <button wire:click="flashMessage" dusk="flash">Flash</button>
    <button wire:click="redirectWithFlash" dusk="redirect-with-flash">Redirect With Flash</button>

    <button wire:click="redirectPage" dusk="redirect.button">Redirect Page</button>
    <span dusk="redirect.blade.output">{{ $message }}</span>
    <span x-data="{ message: @entangle('message') }" x-text="message" dusk="redirect.alpine.output"></span>

    <button wire:click="redirectPageWithModel" dusk="redirect-with-model.button">Redirect PageWithModel</button>
    <span dusk="redirect.blade.model-output">{{ $foo }}</span>
    <span x-data="{ message: @entangle('foo') }" x-text="message" dusk="redirect.alpine.model-output"></span>

    <div>
        @if (session()->has('message'))
            <h1 dusk="flash.message">{{ session()->get('message') }}</h1>
        @endif
    </div>
</div>

Function Calls

None

Variables

None

Stats

MD5 f1aaf3a910b238b47668d5ff1ba099db
Eval Count 0
Decode Time 96 ms