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\ScriptTag; use LegacyTests\Browser\TestCase; class ..

Decoded Output download

<?php

namespace LegacyTests\Browser\ScriptTag;

use LegacyTests\Browser\TestCase;

class Test extends TestCase
{

    public function test()
    {
        $this->markTestSkipped(); // @todo: should we support this in V3?

        $this->browse(function ($browser) {
            $this->visitLivewireComponent($browser, Component::class)
                ->assertScript('window.scriptTagWasCalled === undefined')
                ->waitForLivewire()->click('@button')
                ->assertScript('window.scriptTagWasCalled === true')
            ;
        });
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\ScriptTag;

use LegacyTests\Browser\TestCase;

class Test extends TestCase
{

    public function test()
    {
        $this->markTestSkipped(); // @todo: should we support this in V3?

        $this->browse(function ($browser) {
            $this->visitLivewireComponent($browser, Component::class)
                ->assertScript('window.scriptTagWasCalled === undefined')
                ->waitForLivewire()->click('@button')
                ->assertScript('window.scriptTagWasCalled === true')
            ;
        });
    }
}

Function Calls

None

Variables

None

Stats

MD5 9902710b7193aca402f2f5273c1eff62
Eval Count 0
Decode Time 102 ms