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 RenderContextComponent extends BaseComponent
{
    public $one = 'Blade 1';
    public $two = 'Blade 2';
    public $three = 'Blade 3';

    public function render()
    {
        return <<< 'HTML'
<div>
    <x-blade-component dusk="output.blade-component1" property="one" />
    <x-blade-component dusk="output.blade-component2" property="two" />

    <div>
        @livewire('nested', ['output' => 'Sub render'])
    </div>

    <x-blade-component dusk="output.blade-component3" property="three" />
</div>
HTML;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\Nesting;

use Livewire\Component as BaseComponent;

class RenderContextComponent extends BaseComponent
{
    public $one = 'Blade 1';
    public $two = 'Blade 2';
    public $three = 'Blade 3';

    public function render()
    {
        return <<< 'HTML'
<div>
    <x-blade-component dusk="output.blade-component1" property="one" />
    <x-blade-component dusk="output.blade-component2" property="two" />

    <div>
        @livewire('nested', ['output' => 'Sub render'])
    </div>

    <x-blade-component dusk="output.blade-component3" property="three" />
</div>
HTML;
    }
}

Function Calls

None

Variables

None

Stats

MD5 6f087c45ea243cee5208b659785b073e
Eval Count 0
Decode Time 80 ms