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

Decoded Output download

<?php

namespace LegacyTests\Browser\Deployment;

use Livewire\Component as BaseComponent;
use Livewire\Features\SupportPostDeploymentInvalidation;

class Component extends BaseComponent
{
    public $randomProperty;

    public function hydrateRandomProperty()
    {
        // Property hydration hooks are called before 'component.hydrate.subsequent'
        // which is what the deployment invalidation feature listens for to do its
        // checks so we can change the deployment hash here to simulate a manual
        // change.
        SupportPostDeploymentInvalidation::$LIVEWIRE_DEPLOYMENT_INVALIDATION_HASH = 'new';
    }

    public function render()
    {
        return <<< 'HTML'
<div>
    <button type="button" wire:click="$refresh" dusk="refresh">Refresh</button>
</div>
HTML;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace LegacyTests\Browser\Deployment;

use Livewire\Component as BaseComponent;
use Livewire\Features\SupportPostDeploymentInvalidation;

class Component extends BaseComponent
{
    public $randomProperty;

    public function hydrateRandomProperty()
    {
        // Property hydration hooks are called before 'component.hydrate.subsequent'
        // which is what the deployment invalidation feature listens for to do its
        // checks so we can change the deployment hash here to simulate a manual
        // change.
        SupportPostDeploymentInvalidation::$LIVEWIRE_DEPLOYMENT_INVALIDATION_HASH = 'new';
    }

    public function render()
    {
        return <<< 'HTML'
<div>
    <button type="button" wire:click="$refresh" dusk="refresh">Refresh</button>
</div>
HTML;
    }
}

Function Calls

None

Variables

None

Stats

MD5 5d5c0f49f8d8dbae263ad608c8b0b848
Eval Count 0
Decode Time 94 ms