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 JsPhpize\Nodes; /** * Class Dyiade. * * @property-read Value $conditi..

Decoded Output download

<?php

namespace JsPhpize\Nodes;

/**
 * Class Dyiade.
 *
 * @property-read Value $condition  value used as ternary condition
 * @property-read Value $trueValue  returned value if the ternary condition is truthy
 * @property-read Value $falseValue returned value if the ternary condition is falsy
 */
class Ternary extends Value
{
    /**
     * @var Value
     */
    protected $condition;

    /**
     * @var Value
     */
    protected $trueValue;

    /**
     * @var Value
     */
    protected $falseValue;

    public function __construct(Value $condition, Value $trueValue, Value $falseValue)
    {
        $this->condition = $condition;
        $this->trueValue = $trueValue;
        $this->falseValue = $falseValue;
    }

    public function getReadVariables()
    {
        return array_merge(
            $this->condition->getReadVariables(),
            $this->trueValue->getReadVariables(),
            $this->falseValue->getReadVariables()
        );
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace JsPhpize\Nodes;

/**
 * Class Dyiade.
 *
 * @property-read Value $condition  value used as ternary condition
 * @property-read Value $trueValue  returned value if the ternary condition is truthy
 * @property-read Value $falseValue returned value if the ternary condition is falsy
 */
class Ternary extends Value
{
    /**
     * @var Value
     */
    protected $condition;

    /**
     * @var Value
     */
    protected $trueValue;

    /**
     * @var Value
     */
    protected $falseValue;

    public function __construct(Value $condition, Value $trueValue, Value $falseValue)
    {
        $this->condition = $condition;
        $this->trueValue = $trueValue;
        $this->falseValue = $falseValue;
    }

    public function getReadVariables()
    {
        return array_merge(
            $this->condition->getReadVariables(),
            $this->trueValue->getReadVariables(),
            $this->falseValue->getReadVariables()
        );
    }
}

Function Calls

None

Variables

None

Stats

MD5 e8fa4e852d453b21559be083fe141691
Eval Count 0
Decode Time 84 ms