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 Livewire\Mechanisms\Tests; use Livewire\Component; use Livewire\Livewire..

Decoded Output download

<?php

namespace Livewire\Mechanisms\Tests;

use Livewire\Component;
use Livewire\Livewire;

class InlineBladeTemplatesUnitTest extends \Tests\TestCase
{
    public function test_renders_inline_blade_template()
    {
        Livewire::test(ComponentWithInlineBladeTemplate::class)
            ->assertSee('foo');
    }
}

class ComponentWithInlineBladeTemplate extends Component
{
    public $name = 'foo';

    public function render()
    {
        return <<<'blade'
            <div>
                <span>{{ $name }}</span>
            </div>
blade;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire\Mechanisms\Tests;

use Livewire\Component;
use Livewire\Livewire;

class InlineBladeTemplatesUnitTest extends \Tests\TestCase
{
    public function test_renders_inline_blade_template()
    {
        Livewire::test(ComponentWithInlineBladeTemplate::class)
            ->assertSee('foo');
    }
}

class ComponentWithInlineBladeTemplate extends Component
{
    public $name = 'foo';

    public function render()
    {
        return <<<'blade'
            <div>
                <span>{{ $name }}</span>
            </div>
blade;
    }
}

Function Calls

None

Variables

None

Stats

MD5 3c8a1b6f5ae57f93924462a1aa1e242e
Eval Count 0
Decode Time 105 ms