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\Actions; use Illuminate\Support\Facades\View; use Li..

Decoded Output download

<?php

namespace LegacyTests\Browser\Actions;

use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;

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

    public function setOutputToFoo()
    {
        $this->output = 'foo';
    }

    public function setOutputTo(...$params)
    {
        $this->output = implode('', $params);
    }

    public function appendToOutput(...$params)
    {
        $this->output .= implode('', $params);
    }

    public function pause()
    {
        usleep(1000 * 150);
    }

    public function throwError()
    {
        usleep(1000 * 150);
        throw new \Exception;
    }

    public function render()
    {
        return View::file(__DIR__.'/view.blade.php');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\Actions;

use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;

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

    public function setOutputToFoo()
    {
        $this->output = 'foo';
    }

    public function setOutputTo(...$params)
    {
        $this->output = implode('', $params);
    }

    public function appendToOutput(...$params)
    {
        $this->output .= implode('', $params);
    }

    public function pause()
    {
        usleep(1000 * 150);
    }

    public function throwError()
    {
        usleep(1000 * 150);
        throw new \Exception;
    }

    public function render()
    {
        return View::file(__DIR__.'/view.blade.php');
    }
}

Function Calls

None

Variables

None

Stats

MD5 94889ce5f8bfe05acfcbbb2e481d0dd9
Eval Count 0
Decode Time 87 ms