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 class SmoothStep extends Handler { use MultipleAddressMode, TernaryOperator, Floa..

Decoded Output download

<?php

class SmoothStep extends Handler {

	use MultipleAddressMode, TernaryOperator, FloatingPointOnly, Multithreaded;
	
	protected function getActionOnUnitData() {
		$cType = $this->getOperandCType(3);
		$lines = array();
		$lines[] = "if(op3 <= op1) {";
		$lines[] =		"res = 0;";
		$lines[] = "} else if(op3 >= op2) {";
		$lines[] =		"res = 1;";
		$lines[] = "} else {";
		$lines[] =		"$cType value = (op3 - op1) / (op2 - op1);";
		$lines[] = 		"res = value * value * (3 - 2 * value);";
		$lines[] = "}";
		return $lines;;
	}
}

?>

Did this file decode correctly?

Original Code

<?php

class SmoothStep extends Handler {

	use MultipleAddressMode, TernaryOperator, FloatingPointOnly, Multithreaded;
	
	protected function getActionOnUnitData() {
		$cType = $this->getOperandCType(3);
		$lines = array();
		$lines[] = "if(op3 <= op1) {";
		$lines[] =		"res = 0;";
		$lines[] = "} else if(op3 >= op2) {";
		$lines[] =		"res = 1;";
		$lines[] = "} else {";
		$lines[] =		"$cType value = (op3 - op1) / (op2 - op1);";
		$lines[] = 		"res = value * value * (3 - 2 * value);";
		$lines[] = "}";
		return $lines;;
	}
}

?>

Function Calls

None

Variables

None

Stats

MD5 f4686f4a4d672d69dc2063e22b7d8208
Eval Count 0
Decode Time 84 ms