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 ValidateTransform extends Handler { use ScalarAddressMode, TernaryOperatorN..

Decoded Output download

<?php

class ValidateTransform extends Handler {

	use ScalarAddressMode, TernaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(!(op3 >= 2 && op3 <= 4 && op1 == op3 + 1 && op2 == op3)) {";
		$lines[] =		"qb_report_invalid_transform_exception(line_id, op1, op2, op3);";
		$lines[] =		"cxt->exit_type = QB_VM_ERROR;";
		$lines[] =		"return;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Did this file decode correctly?

Original Code

<?php

class ValidateTransform extends Handler {

	use ScalarAddressMode, TernaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(!(op3 >= 2 && op3 <= 4 && op1 == op3 + 1 && op2 == op3)) {";
		$lines[] =		"qb_report_invalid_transform_exception(line_id, op1, op2, op3);";
		$lines[] =		"cxt->exit_type = QB_VM_ERROR;";
		$lines[] =		"return;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Function Calls

None

Variables

None

Stats

MD5 6fd3740a5c5147f30a27ec6729342cf5
Eval Count 0
Decode Time 87 ms