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 /** * This file is part of the Cloudinary PHP package. * * (c) Cloudinary * * F..

Decoded Output download

<?php
/**
 * This file is part of the Cloudinary PHP package.
 *
 * (c) Cloudinary
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Cloudinary\Test\Unit\TestHelpers;

/**
 * Class TestClassA
 */
class TestClassA
{
    protected $args;

    /**
     * TestClassA constructor.
     *
     * @param mixed ...$args
     */
    public function __construct(...$args)
    {
        $this->args = $args;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        return substr(strrchr(static::class, '\\'), 1) . '(' . implode(', ', $this->args) . ')';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This file is part of the Cloudinary PHP package.
 *
 * (c) Cloudinary
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Cloudinary\Test\Unit\TestHelpers;

/**
 * Class TestClassA
 */
class TestClassA
{
    protected $args;

    /**
     * TestClassA constructor.
     *
     * @param mixed ...$args
     */
    public function __construct(...$args)
    {
        $this->args = $args;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        return substr(strrchr(static::class, '\\'), 1) . '(' . implode(', ', $this->args) . ')';
    }
}

Function Calls

None

Variables

None

Stats

MD5 941fbfaffbf4943cf10bde4cec4bdc0a
Eval Count 0
Decode Time 104 ms