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 Illuminate\Tests\View\Blade; class BladeSectionTest extends AbstractBlad..
Decoded Output download
<?php
namespace Illuminate\Tests\View\Blade;
class BladeSectionTest extends AbstractBladeTestCase
{
public function testSectionStartsAreCompiled()
{
$this->assertSame('<?php $__env->startSection(\'foo\'); ?>', $this->compiler->compileString('@section(\'foo\')'));
$this->assertSame('<?php $__env->startSection(\'issue#18317 :))\'); ?>', $this->compiler->compileString('@section(\'issue#18317 :))\')'));
$this->assertSame('<?php $__env->startSection(name(foo)); ?>', $this->compiler->compileString('@section(name(foo))'));
}
}
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Tests\View\Blade;
class BladeSectionTest extends AbstractBladeTestCase
{
public function testSectionStartsAreCompiled()
{
$this->assertSame('<?php $__env->startSection(\'foo\'); ?>', $this->compiler->compileString('@section(\'foo\')'));
$this->assertSame('<?php $__env->startSection(\'issue#18317 :))\'); ?>', $this->compiler->compileString('@section(\'issue#18317 :))\')'));
$this->assertSame('<?php $__env->startSection(name(foo)); ?>', $this->compiler->compileString('@section(name(foo))'));
}
}
Function Calls
None |
Stats
MD5 | 1d1a957d5ad9ff4504586d95ac268305 |
Eval Count | 0 |
Decode Time | 108 ms |