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 JS\Mysqlnd\Analytics; /** * Describe an analytics rule to be checked * *..

Decoded Output download

<?php

namespace JS\Mysqlnd\Analytics;

/**
* Describe an analytics rule to be checked
*
* A rule consists of two formulas and a comparison operator as well as
* meta information describing the analytics event in case this rule matches.
*/
class Rule
{
    private $left;
    private $right;
    private $operator;

    private $name;
    private $severity;
    private $guidance;

    public function __construct($left, $right, $operator, $name, $severity, $guidance)
    {
        $this->left = $left;
        $this->right = $right;
        $this->operator = $operator;
	
        $this->name = $name;
        $this->severity = $severity;
        $this->guidance = $guidance;
    }

    /**
    * Get left term of the comparison
    */
    public function getLeft()
    {
        return $this->left;
    }

    /**
    * Get right term of the comparison
    */
    public function getRight()
    {
        return $this->right;
    }

    /**
    * Get the comparison operator
    */
    public function getOperator()
    {
        return $this->operator;
    }

    public function getName()
    {
        return $this->name;
    }

    public function getSeverity()
    {
        return $this->severity;
    }

    public function getGuidance()
    {
        return $this->guidance;
    }
}

 ?>

Did this file decode correctly?

Original Code

<?php

namespace JS\Mysqlnd\Analytics;

/**
* Describe an analytics rule to be checked
*
* A rule consists of two formulas and a comparison operator as well as
* meta information describing the analytics event in case this rule matches.
*/
class Rule
{
    private $left;
    private $right;
    private $operator;

    private $name;
    private $severity;
    private $guidance;

    public function __construct($left, $right, $operator, $name, $severity, $guidance)
    {
        $this->left = $left;
        $this->right = $right;
        $this->operator = $operator;
	
        $this->name = $name;
        $this->severity = $severity;
        $this->guidance = $guidance;
    }

    /**
    * Get left term of the comparison
    */
    public function getLeft()
    {
        return $this->left;
    }

    /**
    * Get right term of the comparison
    */
    public function getRight()
    {
        return $this->right;
    }

    /**
    * Get the comparison operator
    */
    public function getOperator()
    {
        return $this->operator;
    }

    public function getName()
    {
        return $this->name;
    }

    public function getSeverity()
    {
        return $this->severity;
    }

    public function getGuidance()
    {
        return $this->guidance;
    }
}

Function Calls

None

Variables

None

Stats

MD5 de553ddfa112d4f3bfd1e99c8cfdd849
Eval Count 0
Decode Time 98 ms