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); /** * This file is part of the Zephir. * * (c) Phalcon..
Decoded Output download
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\Returns;
final class ReturnsTest extends TestCase
{
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithParameter(): void
{
$tester = new Returns();
$this->assertSame('Return back', $tester->returnWithParameter('Hello World!'));
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithParameterStaticVersion(): void
{
$this->assertSame('Return back', Returns::returnWithParameter('Hello World!'));
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithoutParameter(): void
{
$tester = new Returns();
$this->assertSame('Return back', $tester->returnWithoutParameter());
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithoutParameterStaticVersion(): void
{
$this->assertSame('Return back', Returns::returnWithoutParameter());
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\Returns;
final class ReturnsTest extends TestCase
{
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithParameter(): void
{
$tester = new Returns();
$this->assertSame('Return back', $tester->returnWithParameter('Hello World!'));
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithParameterStaticVersion(): void
{
$this->assertSame('Return back', Returns::returnWithParameter('Hello World!'));
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithoutParameter(): void
{
$tester = new Returns();
$this->assertSame('Return back', $tester->returnWithoutParameter());
}
/**
* @issue https://github.com/zephir-lang/zephir/issues/1534
*/
public function testShouldReturnWithoutParameterStaticVersion(): void
{
$this->assertSame('Return back', Returns::returnWithoutParameter());
}
}
Function Calls
None |
Stats
MD5 | 64079f85ceeedd7cc4e2df06cc58d07f |
Eval Count | 0 |
Decode Time | 123 ms |