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 /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Soft..

Decoded Output download

<?php
/**
 * @link https://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license https://www.yiiframework.com/license/
 */

namespace yiiunitramework\web;

use yii\data\DataProviderInterface;
use yii\web\Controller;
use yii\web\Request;
use yiiunitramework\web\stubs\VendorImage;
use yiiunitramework\web\stubs\ModelBindingStub;

/**
 * @author Sam Mousa<[email protected]>
 * @since 2.0.36
 */
class FakePhp71Controller extends Controller
{
    public $enableCsrfValidation = false;

    public function actionInjection(
        $before,
        Request $request,
        $between,
        VendorImage $vendorImage,
        ?Post $post,
        $after
    ) {
    }

    public function actionNullableInjection(?Request $request, ?Post $post)
    {
    }

    public function actionModuleServiceInjection(DataProviderInterface $dataProvider)
    {
    }

    public function actionModelBindingInjection(ModelBindingStub $model)
    {

    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * @link https://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license https://www.yiiframework.com/license/
 */

namespace yiiunit\framework\web;

use yii\data\DataProviderInterface;
use yii\web\Controller;
use yii\web\Request;
use yiiunit\framework\web\stubs\VendorImage;
use yiiunit\framework\web\stubs\ModelBindingStub;

/**
 * @author Sam Mousa<[email protected]>
 * @since 2.0.36
 */
class FakePhp71Controller extends Controller
{
    public $enableCsrfValidation = false;

    public function actionInjection(
        $before,
        Request $request,
        $between,
        VendorImage $vendorImage,
        ?Post $post,
        $after
    ) {
    }

    public function actionNullableInjection(?Request $request, ?Post $post)
    {
    }

    public function actionModuleServiceInjection(DataProviderInterface $dataProvider)
    {
    }

    public function actionModelBindingInjection(ModelBindingStub $model)
    {

    }
}

Function Calls

None

Variables

None

Stats

MD5 7cc71075c64866c41aaa1a4f1ce61d7b
Eval Count 0
Decode Time 117 ms