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\Nesting; use Livewire\Component as BaseComponent; c..

Decoded Output download

<?php

namespace LegacyTests\Browser\Nesting;

use Livewire\Component as BaseComponent;

class NestedComponent extends BaseComponent
{
    public $output = '';

    public function render()
    {
        return <<<'HTML'
        <div>
            <button wire:click="$set('output', 'foo')" dusk="button.nested"></button>

            <span dusk="output.nested">{{ $output }}</span>
        </div>
        HTML;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\Nesting;

use Livewire\Component as BaseComponent;

class NestedComponent extends BaseComponent
{
    public $output = '';

    public function render()
    {
        return <<<'HTML'
        <div>
            <button wire:click="$set('output', 'foo')" dusk="button.nested"></button>

            <span dusk="output.nested">{{ $output }}</span>
        </div>
        HTML;
    }
}

Function Calls

None

Variables

None

Stats

MD5 c12b8af285f526bb037ff2b1d7583205
Eval Count 0
Decode Time 96 ms