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 BladeElseIfStatementsTest extends Abs..
Decoded Output download
<?php
namespace Illuminate\Tests\View\Blade;
class BladeElseIfStatementsTest extends AbstractBladeTestCase
{
public function testElseIfStatementsAreCompiled()
{
$string = '@if(name(foo(bar)))
breeze
@elseif(boom(breeze))
boom
@endif';
$expected = '<?php if(name(foo(bar))): ?>
breeze
<?php elseif(boom(breeze)): ?>
boom
<?php endif; ?>';
$this->assertEquals($expected, $this->compiler->compileString($string));
}
}
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Tests\View\Blade;
class BladeElseIfStatementsTest extends AbstractBladeTestCase
{
public function testElseIfStatementsAreCompiled()
{
$string = '@if(name(foo(bar)))
breeze
@elseif(boom(breeze))
boom
@endif';
$expected = '<?php if(name(foo(bar))): ?>
breeze
<?php elseif(boom(breeze)): ?>
boom
<?php endif; ?>';
$this->assertEquals($expected, $this->compiler->compileString($string));
}
}
Function Calls
None |
Stats
MD5 | 27d156de23e762c9927638d0c2a086f2 |
Eval Count | 0 |
Decode Time | 108 ms |