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

Decoded Output download

<?php

class Validate2DCrossProduct extends Handler {

	use ScalarAddressMode, BinaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(op1 != 2 || op2 != 2) {";
		$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 Validate2DCrossProduct extends Handler {

	use ScalarAddressMode, BinaryOperatorNoResult, MayEmitError;
	
	public function getActionOnUnitData() {
		$cType = $this->getOperandCType(1);
		$lines = array();
		$lines[] = "if(op1 != 2 || op2 != 2) {";
		$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 2aaeb67e0f18289b3d49f6f26da76d48
Eval Count 0
Decode Time 77 ms