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 Validate3DCrossProduct extends Handler { use ScalarAddressMode, BinaryOpera..

Decoded Output download

<?php

class Validate3DCrossProduct extends Handler {

	use ScalarAddressMode, BinaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(op1 != 3 || op2 != 3) {";
		$lines[] =		"qb_report_invalid_cross_product_exception(line_id, op1, op2);";
		$lines[] =		"cxt->exit_type = QB_VM_ERROR;";
		$lines[] =		"return;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Did this file decode correctly?

Original Code

<?php

class Validate3DCrossProduct extends Handler {

	use ScalarAddressMode, BinaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(op1 != 3 || op2 != 3) {";
		$lines[] =		"qb_report_invalid_cross_product_exception(line_id, op1, op2);";
		$lines[] =		"cxt->exit_type = QB_VM_ERROR;";
		$lines[] =		"return;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Function Calls

None

Variables

None

Stats

MD5 8fb32defff27dd62de9d8e425377c93a
Eval Count 0
Decode Time 96 ms