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 declare(strict_types=1); namespace Sculpin\Tests\Functional; class GenerateFromPo..

Decoded Output download

<?php

declare(strict_types=1);

namespace Sculpin\Tests\Functional;

class GenerateFromPostsTest extends FunctionalTestCase
{
    /** @test */
    public function shouldGenerateAnHtmlFileFromEmptyPost(): void
    {
        $this->copyFixtureToProject(__DIR__ . '/Fixture/source/blog_index.html', '/source/index.html');
        $this->addProjectDirectory(__DIR__ . '/Fixture/source/_posts');

        $this->executeSculpin(['generate']);

        $this->assertProjectHasGeneratedFile('/index.html');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Sculpin\Tests\Functional;

class GenerateFromPostsTest extends FunctionalTestCase
{
    /** @test */
    public function shouldGenerateAnHtmlFileFromEmptyPost(): void
    {
        $this->copyFixtureToProject(__DIR__ . '/Fixture/source/blog_index.html', '/source/index.html');
        $this->addProjectDirectory(__DIR__ . '/Fixture/source/_posts');

        $this->executeSculpin(['generate']);

        $this->assertProjectHasGeneratedFile('/index.html');
    }
}

Function Calls

None

Variables

None

Stats

MD5 0c32a9b015f94029c4c1eaf9f1001f08
Eval Count 0
Decode Time 118 ms